This is a starter template for creating modular and secure RESTful APIs. This repo already has user authentication and authorization setup as well as user schema validation using Joi.
The idea and base for this API template came from @droxey.
Sample API template that includes user auth using bcrypt and JWT. Also includes user schema validation using Joi.
JavaScript