1.0.0 • Published 1 year ago
hct_hyper_express_server v1.0.0
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
1.0.0
1 year ago