diff --git a/projectSecondPart/README.md b/projectSecondPart/README.md index 8d69ad16a4fd3000059c01ce322fcf178d31d427..9982047b8babb3e9eb5b1241138001a7b065cde1 100644 --- a/projectSecondPart/README.md +++ b/projectSecondPart/README.md @@ -13,7 +13,7 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo In the project directory, you can run: -### `npm start` +### `npm run start` Runs the app in the development mode.\ Open [http://localhost:3000](http://localhost:3000) to view it in the browser. @@ -21,6 +21,14 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits.\ You will also see any lint errors in the console. +### `npm run start-express` +Runs the express server that serves the app +Send GET requests to [http://localhost:3001](http://localhost:3001) to request content maually. +Examples: + - [http://localhost:3001/user/list](http://localhost:3001/user/list) + - [http://localhost:3001/test/info](http://localhost:3001/test/info) + + ## Learn More You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).