- Instal Node.js on your PC https://nodejs.org/en/
- Install Express framework, use npm install express command
- Run local server on your PC which will be connected to Mongo data base:
- open Back-end project part;
- use npm run start:server command.
- If you need testing the app with mocked users - use npm run addTestDataToDB command or you can add users yourself inside the app.
- For install Angular use this command: npm install -g @angular/cli
- For launching Front-end project (localhost): npm run start or ng serve -o
- For login into the App use authorized users (user name: Petrov; password: 12345678 or Ivanov and 000222333)
- On Windows client computers: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
- Build for production: npm run build
- Linters launch: npm run lint
- Install 'Prettier - Code formatter' from Extensions, go to File-Preferences-Settings, search 'format on save' and tick the check-box "Editor: Format ON SAVE". Than search 'default formatter' and choose Prettier - Code formatter.
Use command ng lint before your every commit.