Its a purpose build to connect developer with each other from entire world for sharing ideas about development. In which added some functionality like login, signup, contact us, add authentication using JWT.
Fork, then download or clone the repo.
git clone https://github.com/<your-user-name>/mern-crud.gitMake sure MongoDB service is running.
The config folder contains a file named db.js. Before running locally, change the value of db as seen in the code below.
For the back-end, install the dependencies once via the terminal.
npm installRun the main server. It listens on port 3000.
CORS=1 node serverView it on the browser.
If you want to configure the front-end, go to react-src folder via the terminal.
cd client/srcInstall the dependencies required by React once.
npm install