Skip to content

Commit c519356

Browse files
author
Alain Boudard
committed
fix: updated dependencies and run config
1 parent dbedd4d commit c519356

File tree

5 files changed

+19504
-12952
lines changed

5 files changed

+19504
-12952
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ mvn spring-boot:start
5050

5151
Open your localhost http://localhost:8080
5252

53+
## Running with the Angular CLI and Spring Boot
54+
55+
If you want to run the Angular CLI and Spring Boot server separately, you can do that with two terminals.
56+
The Angular server will run on port 4200 and the Spring Boot server will run on port 8081.
57+
```bash
58+
cd src/angular
59+
npm run start:sb
60+
```
61+
62+
5363
## Alternative with json-server
5464
If you want to use the json server mock database just follow these instructions :
5565
- Install json-server
@@ -61,7 +71,7 @@ npm install -g json-server
6171
- Run the commands :
6272
```bash
6373
cd src/angular
64-
npm run start
74+
npm run start:json
6575
npm run dbmock
6676
```
6777

0 commit comments

Comments
 (0)