create-ultimate-mern-app
v1.0.0
Published
Create a Mern app with the best folder structure just like create-react-app
Downloads
7
Maintainers
Readme
create-ultimate-mern-app
create your mern app just like create react app
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 .
Prerequisites
create-react-app should be installed globally otherwise
npm i -g create-react-app
Configurations To be done
Fill the mongoURI in config/default.json with your database uri
Add "proxy":"http://localhost:5000" in client\package.json
Add these scripts in your root package.json
"scripts": {
"start": "node server.js",
"client": "cd ../client && npm start",
"dev": "concurrently \"npm run start\" \"npm run client\""
},
Features included
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
Npm packages included :
- concurrently
- express
- mongoose
- config
- react-router-dom
- redux
- react-redux
- redux-thunk
- axios
- reactstrap
Contact me :)
I would like to connect with u guys fell free to contact me
Contributing
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