Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 369 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 369 Bytes

simple-rest-api-nodejs

A simple REST API template using NodeJS.

Install dependencies

npm install

Create environment variables using Nodemon (nodemon.json)

{
    "env": {
        "MONGO_ATLAS_PW": "your_mongo_db_password",
        "JWT_KEY": "your_sever_secret_key"
    }
}

Running the Server

nodemon server.js

or

npm start