Skip to content

Change Api endpoints to use Typoscript + page type #55

@Kanti

Description

@Kanti

Currently, we use a middleware to handle the API endpoints.
This comes with many challenges, eg. we need to create our own TSFE...

We do that because we want to be able to run the API Endpoints in CI, without the user needing to Seed the DB with dummy data.

If we used Typoscript + page type to render the endpoints, then we need at least the sites root page in the DB.

To still make it possible to use storybook in the CI, we could create a command that creates all necessary DB rows automatically.
It should not be that many.

Than we could change out the Middleware to Typoscript + page Type.

  • create command
  • handle site and language differently
  • maybe we want to always use a fake sqlite database, even at local? => it would always work like in CI

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions