From 31c80ed15106f456985b5d30d1464c21afbed658 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Mon, 25 Oct 2021 17:44:37 +0200 Subject: [PATCH 1/3] WIP --- docs/.vuepress/config.js | 1 + .../latest/development/backend-customization.md | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 1ff86049fc..85d9316400 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -151,6 +151,7 @@ const sidebar = { { title: 'Backend customization', collapsable: true, + path: '/developer-docs/latest/development/backend-customization', children: [ ['/developer-docs/latest/development/backend-customization/routing.md', 'Routing'], ['/developer-docs/latest/development/backend-customization/policies.md', 'Policies'], diff --git a/docs/developer-docs/latest/development/backend-customization.md b/docs/developer-docs/latest/development/backend-customization.md index e69de29bb2..f0e2b45554 100644 --- a/docs/developer-docs/latest/development/backend-customization.md +++ b/docs/developer-docs/latest/development/backend-customization.md @@ -0,0 +1,10 @@ +--- +title: Backend customization - Strapi Developer Documentation +description: +--- + + + +# Backend customization + + From 73042764a24a65c3a663eb0de4e059c149409560 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Mon, 25 Oct 2021 18:21:00 +0200 Subject: [PATCH 2/3] Add a short backend customization introduction --- docs/.vuepress/config.js | 2 +- .../development/backend-customization.md | 28 ++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 85d9316400..0d5936f20f 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -149,7 +149,7 @@ const sidebar = { initialOpenGroupIndex: -1, // make sure that no subgroup is expanded by default children: [ { - title: 'Backend customization', + title: 'Back-end customization', collapsable: true, path: '/developer-docs/latest/development/backend-customization', children: [ diff --git a/docs/developer-docs/latest/development/backend-customization.md b/docs/developer-docs/latest/development/backend-customization.md index f0e2b45554..28d0e6ad50 100644 --- a/docs/developer-docs/latest/development/backend-customization.md +++ b/docs/developer-docs/latest/development/backend-customization.md @@ -5,6 +5,32 @@ description: -# Backend customization +# Back-end customization +Strapi runs an HTTP server based on [Koa](https://koajs.com/), a back end JavaScript framework. +:::strapi What is Koa? +If you are not familiar with the Koa back end framework, we highly recommend you to read the [Koa's documentation introduction](http://koajs.com/#introduction). +::: + +Each part of Strapi's back end can be customized: + +- the [requests](/developer-docs/latest/development/backend-customization/requests-responses.md#requests) received by the Strapi server, + +- the [routes](/developer-docs/latest/development/backend-customization/routes.md) that handle the requests and trigger the execution of their controller handlers, + + +- the [policies](/developer-docs/latest/development/backend-customization/policies.md) that can block access to a route, + +- the [middlewares](/developer-docs/latest/development/backend-customization/middlewares.md) that can control the request flow and the request before moving forward, + + +- the [controllers](/developer-docs/latest/development/backend-customization/controllers.md) that execute code once a route has been reached, + +- the [services](/developer-docs/latest/development/backend-customization/services.md) that are used to build custom logic reusable by controllers, + +- the [models](/developer-docs/latest/development/backend-customization/models.md) that are a representation of the content data structure, + +- the [responses](/developer-docs/latest/development/backend-customization/requests-responses.md#responses) sent to the application that sent the request, + +- and the [webhooks](/developer-docs/latest/development/backend-customization/webhooks.md) that are used to notify other applications of events that occured. From ea33972fd8503498339a192d4ffdc70b201542b7 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Wed, 27 Oct 2021 10:14:26 +0200 Subject: [PATCH 3/3] Update yaml title Co-authored-by: DMehaffy --- docs/developer-docs/latest/development/backend-customization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/latest/development/backend-customization.md b/docs/developer-docs/latest/development/backend-customization.md index 28d0e6ad50..75d808bfc5 100644 --- a/docs/developer-docs/latest/development/backend-customization.md +++ b/docs/developer-docs/latest/development/backend-customization.md @@ -1,5 +1,5 @@ --- -title: Backend customization - Strapi Developer Documentation +title: Back-end customization - Strapi Developer Documentation description: ---