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
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