diff --git a/7-bank-project/2-forms/README.md b/7-bank-project/2-forms/README.md index fe9f561d..fdc6107e 100644 --- a/7-bank-project/2-forms/README.md +++ b/7-bank-project/2-forms/README.md @@ -14,6 +14,13 @@ In this part we'll use HTML forms to add login and registration to our web app. You need to have completed the [HTML templates and routing](../1-template-route/README.md) of the web app for this lesson. You also need to install [Node.js](https://nodejs.org) and [run the server API](../api/README.md) locally so you can send data to create accounts. +**Take note** +You will have two terminals running at the same time as listed below. +1. For the the main bank app we built in the [HTML templates and routing](../1-template-route/README.md) lesson +2. For the [Bank APP server API](../api/README.md) we just setup above. + +You need two of the servers up and running to follow through with the rest of the lesson. They are listening on different ports(port `3000` and port `5000`) so everything should work just fine. + You can test that the server is running properly by executing this command in a terminal: ```sh diff --git a/7-bank-project/api/README.md b/7-bank-project/api/README.md index ac75e151..2c27f7c3 100644 --- a/7-bank-project/api/README.md +++ b/7-bank-project/api/README.md @@ -12,11 +12,13 @@ You can also take a look at this interactive tutorial: https://aka.ms/learn/expr Make sure you have [Node.js](https://nodejs.org) installed. -1. Git clone this repo. -2. Open a terminal in `api` folder, then run `npm install`. -3. Run `npm start`. +1. Git clone this repo [The Web-Dev-For-Beginners](https://github.com/microsoft/Web-Dev-For-Beginners). +2. Open your terminal and navigate into the `Web-Dev-For-Beginners/7-bank-project/api` folder +2. Run `npm install` and wait for the packages to be installed(could take a while depending on the quality of your internet connection). +3. When the installation is over, run `npm start` and you are good to go. The server should start listening on port `5000`. +*This server will be running together with the main bank app server terminal(listening on port `3000`), do not close it.* > Note: all entries are stored in-memory and are not persisted, so when the server is stopped all data is lost.