How Contember works?
Contember Engine is a standalone server, which provides an extensive GraphQL API for your data - we call it the Content API. Contember API also provides, what we call a Tenant API which handles authentication and authorization, so you can control who and how can access your data.
There is also Contember Admin - an SDK for building custom management interfaces.
#
How the project looks like?No clicking, we believe the code is the best way to express your needs. You can also easily version the project in git, collaborate with team members and share or reuse.
First you have to tell Contember API, how your data model looks like. So you start defining your project schema. For the most simple blog, imagine it could look something like this:
We use TypeScript for schema definition.
Contember API then creates a table in a PostgreSQL database, where it stores all the data. To save a post using GraphQL API mutation do:
To fetch it later:
Of course, Contember API also works with complex structures and you can define any kind of relations between entities. Find out more in a chapter defining schema.
Later you can start building a management interface using Contember Admin. The post edit page will be as simple as this:
Still interested? Check the quickstart and try it by yourself in just few minutes.