- Babel configuration
- Nodemon for automatically restart the dev server
- Production environment configuration
- Built in rest API authentication
- MongoDB configuration
- Linting with Airbnb eslint configuration
Clone Repo
git clone https://github.com/DimitriMikadze/es6-node-starter.git
npm install dependencies
cd es6-node-starter
npm install
mongod
npm run dev
For linting i'm using Eslint with Airbnb Eslint configuration
npm run lint
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.
contributions are welcome!
MIT