React/Redux
$ cd client // go to client folder
$ npm i // npm install packages
$ npm run dev // run it locally
// deployment for client app
$ npm run build // this will compile the react code using webpack and generate a folder called docs in the root level
$ npm run start // this will run the files in docs, this behavior is exactly the same how gh-pages will run your static site
Server-side |
---|
bcrypt-nodejs: ^0.0.3 |
body-parser: ^1.15.2 |
cors: ^2.8.1 |
dotenv: ^2.0.0 |
express: ^4.14.0 |
jwt-simple: ^0.5.1 |
mongoose: ^4.7.4 |
morgan: ^1.7.0 |