Split main.py into route modules #7

Open
opened 2026-02-15 17:35:24 -05:00 by benjamin.long · 0 comments

main.py is ~4000 lines containing all routes, models references, and business logic. Should be split into FastAPI router modules, e.g.:

  • routes/messages.py
  • routes/conversations.py
  • routes/groups.py
  • routes/admin.py
  • routes/webhooks.py
  • routes/media.py

Labels

server

`main.py` is ~4000 lines containing all routes, models references, and business logic. Should be split into FastAPI router modules, e.g.: - `routes/messages.py` - `routes/conversations.py` - `routes/groups.py` - `routes/admin.py` - `routes/webhooks.py` - `routes/media.py` ## Labels server
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
offsite.guru/textze#7
No description provided.