Socket
Book a DemoInstallSign in
Socket

npm-mern-template

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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 ca

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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

  • Suhail Roushan

GitHub

linkedin

twitter

Keywords

npm package

FAQs

Package last updated on 10 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts