Project has moved to: CCWI/findlunch
This client server based application allows restaurants to register offers (e.g. for lunch) and helps customer to find these via their smartphone (based on their location).
The web application is based on several technologies:
- Spring Boot
- Spring Data JPA with Hibernate
- Spring MVC
- Thymeleaf Template Engine
- Bootstrap
In order to import the project into Eclipse, please follow these steps:
- Open Eclipse
- Right click on your project explorer and select "Import" --> "Import"
- In the following menu select "Maven" --> "Existing Maven Projects"
- Select the extracted "webapp" folder and click "Finish"
Before you can start the application please set up the MariaDB database with the database schema. Afterwards, please open the "application.properties" file within eclispe (found under src/main/resources) and edit the database and tomcat configuration to match your environment.
To start the application, right click on the "App" class found within the base package and select "Run as" --> "Java Application"
The Android application is based on the following technologies:
- Spring for Android
- Jackson
- Google Play services Maps
- Google Play services GCM
- Google Maps Android API utility library
In order to import the project into Android Studio, please follow these steps:
- Open Android Studio
- Navigate to "File" and select "Open...".
- In the following menu select the extracted "FindLunchApp" folder and click "Ok"
Before you start the application, please consider to clean the project to avoid issues. To do this, you have to navigate to "Build" and select "Clean Project".
To start the application, navigate to "Run" and select "run 'App'".
The Android app gives the ability to define host and port for the connection with the findlunch Webapp in a configuration file named "connection.txt", that is located on the external storage of your Android device. The file must contain the following information:
host=findlunch.biz.tm
port=8444