Skip to content

Minimal API #615

@krokosik

Description

@krokosik

I want to someday implement a REST API and evaluated some tRPC integrations to map the current endpoints into a full OpenAPI spec. Unfortunately, some of these projects died, were not updated to trpc v11 and the one that worked required lots of tedious work with strictly specifying input and output zod schemas. Unfortunately, this also led to things breaking and not validating properly, so I gave up at the time.

Now it seems that the tRPC team is working on their own solution which looks pretty promising and promises less work. With the clankers being now more reliable, it seems that the task is now doable.

Following on the discussion from #300, this issue pertains to implementing a small subset of the endpoints, namely:

  • expense.addOrEditExpense
  • expense.getGroupExpenses
  • expense.getExpenseDetails
  • group.getAllGroups
  • group.getGroupDetails
  • user.me

If you strongly require more, let me know in the comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions