Configuration of Kestrel
Kestrel have many features built in. Here are the different configurations of those features.
Table of contents
Middlewares usage
Global configuration
The global middlewares configuration is located at backend/src/app.js in the two const back_config and middlewares.
Activate or deactivate those configuration would affect the whole backend.
Router configuration
The routers middlewares configuration is located at backend/src/routes/routes.js.
Activate or deactivate those configuration would affect all the routes of the router you modify.
Route configuration
You can specify routes’s middlewares directly on the route function located at backend/src/routes/*.
Environment variables
You can edit the envronment variables in backend/.env.