This Example for building REST APIs with ES6 and Express technology made with.
- ES6 support via babel
- Webpack
- Eslint standart configuration
- Body Parsing via body-parser
- Mongodb and Mongoose
- other
# clone it
git clone https://github.com/erickow/nodejs-express-auth-passport-jwt-es6-example.git
cd express-es6-rest-api
# Make it your own
rm -rf .git && git init && npm init
# Install dependencies
npm install
# Before start, build project with webpack
npm run dev:build
# start the project
npm run dev
# user signup
localhost:3000/api/v1/users/signup
# user login
localhost:3000/api/v1/users/login
# protected example
localhost:3000/hello
# root helloword
localhost:3000