MongoDB, Expressjs, React/Redux, Nodejs
It's a fullstack implementation in MongoDB, Expressjs, React/Redux, Nodejs.
$ git clone https://github.com/sharangramana/Fashion_Blog_MERN.git
$ npm i
- MongoDB Cloud Account
- Node ^12.16.3
- npm
NOTE : you need client and server runs concurrently in different terminal session, in order to make them talk to each other
$ cd Client // go to client folder
$ npm i // npm install pacakges
$ 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
$ cd Server // go to server folder
$ npm i // npm install pacakges
$ npm run dev // run it locally
$ npm run build // this will build the server code to es6 js codes and generate a dist file
Client-side | Server-side |
---|---|
axios: ^0.19.2 | bcrypt: ^4.0.1 |
bootstrap: ^4.5.0 | body-parser: ^1.19.0 |
jquery: ^3.5.1 | cors: ^2.8.1 |
react: ^16.13.1 | dotenv: ^8.2.0 |
react-dom: ^16.13.1 | express: ^4.17.1 |
react-scripts: ^3.4.1 | jsonwebtoken: ^8.5.1 |
react-router-dom: ^5.2.0 | mongoose: ^5.9.15 |
jwt-decode: ^2.2.0 | nodemon: ^2.0.4 |
Create new Issues (preferred)
Email Me: sharangramana20@gmail.com