Skip to content

ES6/7 Node starter kit with built in Rest API authentication

Notifications You must be signed in to change notification settings

DimiMikadze/es6-node-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES6/7 Node starter kit with built in Rest API authentication

Features

  • Babel configuration
  • Nodemon for automatically restart the dev server
  • Production environment configuration
  • Built in rest API authentication
  • MongoDB configuration
  • Linting with Airbnb eslint configuration

Preview

Preview

Getting Started

Clone Repo

git clone https://github.com/DimitriMikadze/es6-node-starter.git

npm install dependencies

cd es6-node-starter

npm install

Start MongoDB

mongod

Start development server

npm run dev

Linting

For linting i'm using Eslint with Airbnb Eslint configuration

npm run lint

Production

Build for production

npm run build

Start production server

npm run start

Note: I'm using pm2 for production server, you should install it on server via 'npm install pm2 -g'. if you don't want to use pm2, just change pm2 with node in package.json file in scripts section.

Contributing

contributions are welcome!

License

MIT

About

ES6/7 Node starter kit with built in Rest API authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published