Skip to content

Create messages router code / skeleton #2

Description

@polter-dev

Create src/server/api/routers/messages.ts on a backend/messages branch off dev.

Set up a tRPC router with skeleton procedures for sending a message and fetching messages by session.

Use zod input validation. (auth.ts helps with figuring out how to go about it) and the ERD for table fields and types.

Leave mutation/query bodies as TODOs for now since the table still needs to get build and refer to the ERD diagram for fields / types

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions