MongoDB, Expressjs, React/Redux, Nodejs
MERN is a fullstack implementation in MongoDB, Expressjs, React/Redux, Nodejs.
$ git clone https://github.com/arjunpola/nasscom-mern-web-app
$ npm i
package.json
controller/
package.json
.env (to create .env, check [prepare your secret session])
view/
package.json
...
$ npm i // installs both frontend and backend dependencies
$ npm start // concurrently starts frontend and backend in respective ports locally
$ cd view // go to client folder
$ npm i // npm install packages
$ npm run // 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
$ npm i // npm install packages
$ npm start // runs backend locally
Email Me: nagarjun@nasscomfoundation.org