Skip to content
/ RESTPLATE Public template

A template for building REST APIs with Node.js, Express and Mongo DB. Giving you the MEN part of your MEAN stack.

Notifications You must be signed in to change notification settings

Angus-C-git/RESTPLATE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTPLATE

A template for building REST APIs with Node.js, Express and Mongo DB. Giving you the MEN part of your MEAN stack.

Structure

/
    /models
        * Post
        * User
    /routes
        * auth
        * posts
        * validateJWT
    * app.js
    * validation.js
    * package.json
    * .env

Usage

You can either:

Build New package.json

sudo rm package.json package-lock.json 
npm init

# Install dependancies
npm install @hapi/joi bcryptjs cors dotenv express jsonwebtoken mongoose --save

# Optional DevOPS
npm install nodemon --save

Modify Existing package.json

npm install

Config

Nodemon

nodemon app.js

About

A template for building REST APIs with Node.js, Express and Mongo DB. Giving you the MEN part of your MEAN stack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published