Simple error module, that allows you to use or create new errors.
Using jsonwebtoken to generate and verify a token. Created a middleware that is going to verify the json web token.
Sending the token once you authenticate.
Securing all the api routes using the jwt middleware.
User model, using AUser as name, that way it doesn't conflict with Parse User.
Verifying the token before every API request.