Skip to content

Pawan-ens/Mern-Stack-Redux-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

MERN STACK REACT REDUX THUNK CRUD APP WITH FUNCTIONAL COMPONENT

Clone Project

   $ git clone https://github.com/shubhamns/mern-stack-react-redux-thunk-crud-app-with-functional-component.git

1. install reactjs

   $ cd react-app
   $ npm install
   $ npm start

2. install nodejs

   $ cd nodejs-app
   $ npm install
Configure Nodejs app
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.
Start Nodejs app
   $ npm start
Start app using Nodemon
   $ npm run dev

3. Start project

   1. react project run in browser PORT = http://localhost:3000/
   2. nodejs project run in browser PORT = http://localhost:5000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors