MERN STACK REACT REDUX THUNK CRUD APP WITH FUNCTIONAL COMPONENT
$ git clone https://github.com/shubhamns/mern-stack-react-redux-thunk-crud-app-with-functional-component.git
$ cd react-app
$ npm install
$ npm start
$ cd nodejs-app
$ npm install
Step 1 working with localhost
1. install MongoDB `https://docs.mongodb.com/manual/administration/install-community/`
2. you can also download MongoDB GUI `Robo 3t`.
3. create database & copy `mongodb://localhost:27017/DBName`
4. Paste to the `.env` file.
Step 2 working with Cloud
1. Sign up with MongoDB `Head over to MongoDB Atlas or MLab and create a free account.`
2. create connection string for your MongoDB Atlas database.
3. copy mongodb+srv://USERNAME:PASSWORD@myapp-ic0bu.mongodb.net/DATABASE_NAME?retryWrites=true&w=majority
4. Paste to the `.env` file.
1. react project run in browser PORT = http://localhost:3000/
2. nodejs project run in browser PORT = http://localhost:5000/