create your mern app just like create react app
> Don't waste hours just setting your development environment
npm i -g create-ultimate-mern-app
create-ultimate-mern-app myApp
cd myApp
or
npm i -g create-ultimate-mern-app
cd myApp
create-ultimate-mern-app .
- create-react-app should be installed globally otherwise
- npm i -g create-react-app
- Fill the mongoURI in config/default.json with your database uri
- Add "proxy":"http://localhost:5000" in client\package.json
"scripts": {
"start": "node server.js",
"client": "cd ../client && npm start",
"dev": "concurrently \"npm run start\" \"npm run client\""
},
- React router is set up
- Redux is set up persisting the state in localStorage
- server is setup with mongo as database
- models, routes folder is setup
- server running in localhost 5000 react in 3000
- concurrently
- express
- mongoose
- config
- react-router-dom
- redux
- react-redux
- redux-thunk
- axios
- reactstrap
I would like to connect with u guys fell free to contact me
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Thinking to add more features in future versions. Any ideas or suggestions are welcomed :)
The only way to discover the limits of the possible is to go beyond them into the impossible