Back-end customization
All elements of Strapi's back end, like routes, policies, middlewares, controllers, services, models, requests, responses, and webhooks, can be customized.
All elements of Strapi's back end, like routes, policies, middlewares, controllers, services, models, requests, responses, and webhooks, can be customized.
In Strapi 5, the 'defaultIndex' option is removed from the 'public' middleware.
With Strapi's error handling feature it's easy to send and receive errors in your application.
Use a GraphQL endpoint in your Strapi project to fetch and mutate your content.
The diagram represents a simplified version of how a request travels through the Strapi back end, with global middlewares highlighted. The backend customization introduction page includes a complete, interactive diagram.
Strapi offers a single entry point file for its middlewares configurations.
Strapi comes with plugins that can be installed from the Marketplace or as npm packages. You can also create your own plugins (see plugins development) or extend the existing ones.
Strapi policies are functions that execute specific logic on each request before it reaches the controller. Policies can be customized according to your needs.
Strapi routes handle requests to your content and are auto-generated for your content-types. Routes can be customized according to your needs.
Strapi's Server API for plugins allows a Strapi plugin to customize the back end part (i.e. the server) of your application.
The default log level of the middleware logger in Strapi 5 is 'http'.
Configure Strapi Cloud to use a third-party upload provider.