npm-mern-template
v1.0.3
Published
"npm-mern-template" is an npm package offering a pre-configured MERN (MongoDB, Express.js, React.js, Node.js) stack template. It streamlines web development by providing a ready-to-use backend server, React frontend, and MongoDB integration. Developers ca
Downloads
9
Maintainers
Readme
npm-mern-template
npm-mern-template is an npm package offering a pre-configured MERN (MongoDB, Express.js, React.js, Node.js) stack template. It streamlines web development by providing a ready-to-use backend server, React frontend, and MongoDB integration. Developers can quickly kickstart their MERN projects and focus on building feature-rich applications.
Usage
To use the script, follow these steps:
sudo npm install npm-mern-template
npm-mern-template
Screenshots
Step 1.
Step 2.
Step 3.
cd server && cd config
nano default.json
Step 4.
Fill The Details of the json file
Note: Don't Start the Server Without Filling Up the default.json
{
"PORT": 5000,
"URL": "PROJECT-URL",
"EMAIL_SMTP": {
"HOST": "Your Host",
"AUTH": {
"USER": "USERNAME",
"PASS": "PASSWORD"
},
"PORT": 465
},
"SEND_SMS": {
"TWILIO_SID": "ACbXXXXXXXXXXXXXXXXXXXXXXXX",
"TWILIO_TOKEN": "c42XXXXXXXXXXXXXXXXXXXXXXXXXXX",
"TWILIO_NUMBER": "+14XXXXXXXXXX"
},
"DB_URI": "MONGODURI"
}
Step 5.
To Start The App
# For React Client
cd client && npm start
#For Express Server
cd server && npm start