1.0.0 • Published 1 year ago

hct_hyper_express_server v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

hct_hyper_express_server

Components - ejs includes

Controllers - code that handles the route

Handlers - static file handler, error handler, and not found handler

Middleware - functions that execute during the lifecycle of the request (auth, roles, etc)

Routes - routes and routers

Views - ejs files

  • /private (must be logged in)
  • /admin (must have admin role)
  • /public (unprotected)

TODO: Catch API errors