Install node modules with npm install
and start both server and frontend with npm start
(note: It will automatically open your default browser with an app in a new tab).
Using node.js v10.16.3 with express.js 4.17.1
Start server with a simple command npm run server
and it will run server with nodemon.
Testing server with a simple command npm test
.
Server uses JWT tokens for authorization with token valid for a period specified in env variable JWT_DURATION
.
Using Angular 8 and ngrx
Start server with a simple command npm run web
.