File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 11# spring-boot-rest-api-monolith
22Starter Spring Boot Rest Api Monolith Application
3+
4+
5+ ## Steps to run the application on your local machine using terminal
6+ - JDK 1.8+ and MySQL database needs to be installed
7+
8+ 1 . First Download or clone the repository on your local machine
9+ 2 . Import mysql database by running script ** restapistarter_db.sql**
10+ 4 . Edit file ** ProjectDir/src/main/resources/application.properties** to reflect your MySQL Username & Password
11+ 3 . Open terminal and move to root directory of project
12+ - cd D:\spring-boot-rest-api-monolith
13+ 4 . run your application with gradle wrapper ** bootRun** task:
14+ - ./gradlew bootRun
15+ 5 . initially it will download all gradle dependencies and build the project.
16+ 6 . Then it will start embedded tomcat server and launch our application at port 8080
17+ 7 . Now go to the browser and enter url : http://localhost:8080
18+ 8 . As our application is REST API application, you can test other endpoints in Postman.
19+
20+ ![ alt text] ( https://github.com/tmk-computers/spring-boot-rest-api-monolith/blob/master/OAuth-Token.PNG )
You can’t perform that action at this time.
0 commit comments