Appline is a back-end application made using Spring Boot. Both the Spring application and the PostgreSQL database can be ran in a Dockerized container.
The Spring Boot application is ran in a Dockerized environment using Heroku's free hosting services, which can be accessed with the following link: https://prbed-team-dit-app.herokuapp.com/
All documentation can be found on the Wiki.
Swagger-link local: http://localhost:8080/swagger-ui/#/
Swagger-link live: https://prbed-team-dit-app.herokuapp.com/swagger-ui/#/
Appline is being tested using Postman.
Tests can be found in here.
-
Clone the project using your prefered git tool.
-
Copy
example.env
and paste it as.env
. Do not delete example.env, this is required for deployment. -
In your IDE's run configurations, point the environment variables to the
.env
file or if necessary, insert the variables into your run config manually. -
Run the application with
docker-compose up
to deploy the application- Add
db
orapi
at the end of the line to only compose one of these services
- Add
-
Tip: Run
docker-compose up db
, and then run the Spring Boot application through Intellij during development for faster and easier testing