Starter Spring Boot Rest Api Monolith Application
- JDK 1.8+ and MySQL database needs to be installed
- First Download or clone the repository on your local machine
- Import mysql database by running script restapistarter_db.sql
- Edit file ProjectDir/src/main/resources/application.properties to reflect your MySQL Username & Password
- Open terminal and move to root directory of project
- cd D:\spring-boot-rest-api-monolith
- run your application with gradle wrapper bootRun task:
- ./gradlew bootRun
- initially it will download all gradle dependencies and build the project.
- Then it will start embedded tomcat server and launch our application at port 8080
- Now go to the browser and enter url : http://localhost:8080
- As our application is REST API application, you can test other endpoints in Postman.