https://github.com/dimimikadze/es6-node-starter
ES6/7 Node starter kit with built in Rest API authentication
https://github.com/dimimikadze/es6-node-starter
authentication express nodejs
Last synced: about 2 months ago
JSON representation
ES6/7 Node starter kit with built in Rest API authentication
- Host: GitHub
- URL: https://github.com/dimimikadze/es6-node-starter
- Owner: DimiMikadze
- Created: 2016-06-21T19:35:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-21T19:40:20.000Z (almost 9 years ago)
- Last Synced: 2025-03-23T12:41:27.768Z (2 months ago)
- Topics: authentication, express, nodejs
- Language: JavaScript
- Size: 1.25 MB
- Stars: 27
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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

## Getting Started
Clone Repo
````
git clone https://github.com/DimitriMikadze/es6-node-starter.git
````npm install dependencies
````
cd es6-node-starternpm 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