This is a Node 4.x ES2015 Hapi API starter with MongoDB. I will add more as I go (tests, auth, types, etc) but feel free to contribute! Stay Hapi my friends.
- Hapi (with plugins)
- Joi
- Boom
- Good / Good Console
- Lab
- Code
- MongoDB
- ES2015 (Promises, Classes, Let, Const, etc...)
$ npm install
- Node 4.x
- MonogDB
$ npm run test
$ npm start
$ GET http://localhost:3000/users
$ GET http://localhost:3000/users/:userId
$ POST http://localhost:3000/users
$ PUT http://localhost:3000/users/:userId
$ DELETE http://localhost:3000/users/:userId
$ GET http://localhost:3000/blogs
$ GET http://localhost:3000/blogs/:blogId
$ POST http://localhost:3000/blogs
$ PUT http://localhost:3000/blogs/:blogId
$ DELETE http://localhost:3000/blogs/:blogId
MIT