Back-end part of the Android application GoodTrip.
- JDK 21
- JUnit 4
- Lombok for getters and setters
- Spring Boot 3
- PostgreSQL
To build and run the project from the command line:
-
Set properties in the next files:
application.properties
PLACES_API_KEY # key from google places api FLIGHT_API_KEY # public key from amadeus api FLIGHT_API_SECRET_KEY # private key from amadeus api spring.datasource.url # database url spring.datasource.username # database username spring.datasource.password # database password
encryption.properties
salt # your private salt of application to hash passwords
-
Enter commands in the command line:
$ ./gradlew build $ ./gradlew run
If you want to test application enter:
-
Set properties as in the previous paragraph
-
Enter command in the command line:
$ ./gradlew test
- Raw swagger documentation
If you have issues/questions/problems, you can write:
- Google Places API - to get places nearby
- Amadeus API - to get a list of air tickets
GoodTrip is an Open Source project covered by the MIT License.