Java backend - intive/patronage21-qa GitHub Wiki
Java backend
Tools required to run the application
Steps to run the application
- Clone the repository to your desktop ('git bash here' in the place where you want to download the repository)
git clone https://github.com/intive/patronage21-java.git
- Go to root directory
cd patronage21-java
- Change branch to dev
git checkout dev
- Start the docker container
docker-compose up -d
- Build the project with Gradle (run command prompt in the directory "patronage21-java")
gradlew build
If the application was built successfully, you will see the message "BUILD SUCCESSFUL".
- Run the application
gradlew bootRun
or
cd build/libs
java -jar patronative-0.0.1-SNAPSHOT.jar
If the application was run successfully, you will see the message "Started Patronative Application".
After that, you will be able to access it at http://localhost:8080.
All available endpoints and parameters can be found in Swagger: http://localhost:8080/swagger-ui.html