1.0.3 • Published 10 months ago

npm-mern-template v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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