Strapi is a Headless CMS framework written in Node.js.
Stapi allows you to build your own content types. This installation ships already with two very basic content types that may server as building blocks for a blog: Article and Category.
- Visit the
/adminpath to register an administrative user. - Login with the newly created credentials.
- Adjust public permissions by going to
admin/settings/users-permissions/roles/2. For both theArticleand theCategorycollections enablefindandfindOne. - Go to
Content Managerin the lefthand sidebar, and create some content for bothArticleandCategory. - Test by requesting
/articles,/articles/1,/categories,/categories/1, etc.
To create your own content types, you can use the Content-Type Builder. This, however, can only be used in development mode. Since the behaviour of the builder is to generate new code that should be checked into your repository, we have decided not to enable development mode in this template, not even on the development branches. Instead, we advise you to run Strapi locally in development mode, generate the new content types, and then check the new code in, and push it up for deployment.
This template will deploy Strapi in the smallest container available on Platform.sh (XS) if the plan used is anything above Development (i.e. at least a Small/Standard plan). When the app container is set to XS, the database container is automatically the smallest possible (S). This means resources are allocated as follows:
strapi4 (type: nodejs:16, size: XS, cpu: 0.25, memory: 96)
postgres (type: postgresql:13, size: S, cpu: 0.25, memory: 128)