Skip to content

Commit a7b3807

Browse files
committed
Merge branch 'master' of github.com:tmk-computers/spring-boot-rest-api-monolith
2 parents 45d8db6 + 0539565 commit a7b3807

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
# spring-boot-rest-api-monolith
22
Starter 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)

0 commit comments

Comments
 (0)