File tree 1 file changed +18
-19
lines changed
1 file changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -14,36 +14,35 @@ Build Restful CRUD API for a simple Note-Taking application using Spring Boot, M
14
14
15
15
** 1. Clone the application**
16
16
17
- ```bash
18
- git clone https://github.com/callicoder/spring-boot-mysql-rest-api-tutorial.git
19
- ```
17
+ ``` bash
18
+ git clone https://github.com/callicoder/spring-boot-mysql-rest-api-tutorial.git
19
+ ```
20
20
21
21
** 2. Create Mysql database**
22
-
23
- ```bash
24
- create database notes_app
25
- ```
22
+ ``` bash
23
+ create database notes_app
24
+ ```
26
25
27
26
** 3. Change mysql username and password as per your installation**
28
27
29
- + open `src/main/resources/application.properties`
28
+ + open ` src/main/resources/application.properties `
30
29
31
- + change `spring.datasource.username` and `spring.datasource.password` as per your mysql installation
30
+ + change ` spring.datasource.username ` and ` spring.datasource.password ` as per your mysql installation
32
31
33
- ** 2 . Build and run the app using maven**
32
+ ** 4 . Build and run the app using maven**
34
33
35
- ```bash
36
- mvn package
37
- java -jar target/easy-notes-1.0.0.jar
38
- ```
34
+ ``` bash
35
+ mvn package
36
+ java -jar target/easy-notes-1.0.0.jar
37
+ ```
39
38
40
- Alternatively, you can run the app without packaging it using -
39
+ Alternatively, you can run the app without packaging it using -
41
40
42
- ```bash
43
- mvn spring-boot:run
44
- ```
41
+ ``` bash
42
+ mvn spring-boot:run
43
+ ```
45
44
46
- The app will start running at <http://localhost:8080>.
45
+ The app will start running at < http://localhost:8080 > .
47
46
48
47
## Explore Rest APIs
49
48
You can’t perform that action at this time.
0 commit comments