https://github.com/cottrellio/express-rest-boilerplate
Boilerplate REST API app (Express, Mongoose, JWT, Babel)
https://github.com/cottrellio/express-rest-boilerplate
Last synced: about 1 month ago
JSON representation
Boilerplate REST API app (Express, Mongoose, JWT, Babel)
- Host: GitHub
- URL: https://github.com/cottrellio/express-rest-boilerplate
- Owner: cottrellio
- Created: 2016-02-25T19:04:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-25T21:45:22.000Z (over 10 years ago)
- Last Synced: 2025-12-29T05:52:30.846Z (5 months ago)
- Language: JavaScript
- Size: 4.56 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# express-rest-boilerplate
Boilerplate REST API app (Express, Mongoose, JWT, Babel)
I wanted to work through an example of serving a REST API using Express. It's a work in progress, but I hope to implement the following roadmap and would appreciate any requests/ feedback.
## Roadmap
- [x] Configure Babel ES6.
- [x] Extract Config (separate file).
- [x] Extract DB (separate file).
- [x] User Model.
- [x] Encrypt User Passwords (pre save function).
- [x] Implement JWT Authentication.
- [x] Route Loader (dynamically search for routes in app structure).
- [ ] Serializers (serialize/ deserialize models based on API version).
- [ ] Response Objects (normalize responses).
- [ ] Normalize Error Responses.
- [ ] Resolve Relative Module (localize module references relative to app folder).