Skip to content

A boilerplate for Node.js, Express, Mongoose, JWT Authentication, mLab, Nodemon, and Babel

License

Notifications You must be signed in to change notification settings

necheporenko/restfull-api-nodejs-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTfull Api Node.js Starter Kit

License: MIT dependencies Maintainability

A boilerplate for Node.js, Express, Mongoose, JWT Authentication, mLab, Nodemon, and Babel.

Getting Started

Clone the repo:

git clone https://github.com/necheporenko/restfull-api-nodejs-starter-kit.git
cd restfull-api-nodejs-starter-kit

Install yarn:

npm install -g yarn

Install dependencies:

yarn

Start server:

yarn run dev

Configuration

Default configuration

// Please note, doesn't store your credentials in open access
// .env
PORT = <PUT_YOUR_PORT_HERE>;
MONGODB_URL = <PUT_YOUR_MONGODB_URL_HERE>;
SECRET = <PUT_YOUR_SECRET_HERE>;

Directory Structure

.
├── server
│   ├── config
│   ├── controllers
│   ├── models
│   └── routes
├── .babelrc
├── .env
├── .gitignore
├── package.json
├── package-lock.json
├── README.md
├── server.js
└── yarn.lock

About

A boilerplate for Node.js, Express, Mongoose, JWT Authentication, mLab, Nodemon, and Babel

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published