Authentication module in node.js using PassportJS
- MongoDB as database.
- Angular5 for frontend.
-
In the root directory,
npm install
to install the server dependenciesnpm start
to start the server -
In the client directory,
npm install
to install the client dependenciesnpm start
to start the client for production Openhttp://localhost:4200
- Build by running
ng build
in the client directory. - Start the server by
npm start
in the root directory. - Open
http://localhost:8000