This application provides an API that is used by and Angular application and potentially might be used by an Android app.
- Java
- MySQL
- Gradle
- Spring Boot
- Spring Data
- etc...
Run the next command to download the repository
git clone -b develop https://github.com/royalrangers-ck/rr-api.git
- Download and install Java from here
- Download and install MySQL v5.1.* from here
- Go to application.yml and set appropriate username and password to your mysql database.
The next command will download Gradle, all dependencies and run the application
gradlew.bat bootRun
gradlew bootRun
- Download and extract Gradle from here. Tell to Intellij Idea where your gradle is located.
- Open project from Intellij Idea. Download dependencies using Gradle.
- Right click on Application.java and select Run application
After application is launched, go to localhost:8080 and try it.
We're using Swagger as a documenting tool.
After application is started, navigate to http://localhost:8080/api/swagger-ui.html and you'll see the list of available APIs.