Skip to content

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.

Notifications You must be signed in to change notification settings

suhailroushan13/npm-mern-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Screenshot

Step 2.

Screenshot

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

Authors

🔗 Links

GitHub

linkedin

twitter

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages