Step 1: Create a .env
file andfile and put the following into it:
NODE_ENV=development
DB_STRING=<database string>
Step 2: Install all dependencies in the root folder and the client folder
npm install
cd client
npm install
Step 3: Run both the client application and the backend server.
Start the client application inside client folder
cd client
ng serve
Make sure it is started in (http://localhost:4200):
Start the nodejs server
npm start
Make sure it is started in (http://localhost:3000):
Step 4: Open the client application on (http://localhost:4200)