Make sure that ports 3000 and 3007 are both available for our back-end and front-end servers.
Install Node.js and npm
-
Open a Terminal (in bank-app)
-
Navigate to the
authInMernfolder:
cd authInMern- Move into the
serverfolder:
cd server- Install all the dependencies for the back-end:
npm install- Run the back-end:
npm startTip: If error occurs when running the back-end side, is bcrypt_lib.node is not a valid Win32 application, try to remove the node_modules and then repeat the No.4 step to install all dependencies.
-
Open another Terminal (in bank-app)
-
Navigate to the
clientfolder:
cd client- Install all the dependencies for the front-end:
npm install- Run the front-end:
npm startVisit http://localhost:3000/ in your web browser to access the bank app.
