Ticketing app commons
Errors
- Includes a set of predefined errors and an abstract class CustomError that can be used by the error-handler middleware
- bad-request-error
- custom-error
- database-connection-error
- not-authorized-error
- not-found-error
- request-validation-error
Events
- Includes objects that can be used to interact with the nats server
- base-listener
- base-publisher
- subjects
- ticket-created-event
- ticket-updated-event
Middlewares
- Includes a set of middlewares that can be used for micro services developement
- current-user
- error-handler
- require-auth
- validate-requests