This project build using MEAN Stack. It's include two part. client and server.
Client -> Angular
Server -> NodeJs | ExpressJs
DB -> Mongodb and Redis
- Install nodeJs 8.x.x higher version
- Install MongoDB and Redis DB
- Install angular cli in global
- install pm2 in global
Link : https://github.com/jdamilasp/productapi/tree/master/ui
- go to client directory
npm install// install all angular project require node modulesng serve
- Server Start : http://localhost:4200
- go to server directory
npm install// install all express project require node mondulesnpm start
- Server Start : http://localhost:3000
- go to server directory
npm run doc// create api doc
- go to client directory
npm installnpm run build// here two part. 1 build minify angular project and 2. copy express public directory- go to server directory
npm installnpm run prod// here express app start using pm2 and it will running as background process
- Server Start : http://localhost:3000
Amila Sampath | jdamilasp@gmail.com

