Repository navigation
Routes
Enoch Olayemi edited this page Jul 8, 2026
·
5 revisions
This page maps the current route groups in Tapitude Creator Hub.
Routes are registered in:
src/server.tsRoute group files live in:
src/routes/Controller behavior lives in:
src/controllers/Mounted at:
/Routes:
GET /
GET /aboutController:
src/controllers/index.controller.tsMounted at:
/authRoutes:
GET /auth/login
POST /auth/login
POST /auth/logoutController:
src/controllers/auth.controller.tsMounted at:
/adminRoutes:
GET /admin/dashboard
GET /admin/creators
GET /admin/creators/new
GET /admin/edit-creator-account/:id
POST /admin/creators/new
POST /admin/edit-creator-account/:id
POST /admin/delete-creator-account/:idController:
src/controllers/admin.controller.tsAccess:
- Must be logged in.
- Must have
adminrole.
Mounted at:
/creatorRoutes:
GET /creator/dashboard
GET /creator/content
GET /creator/pages/:id/editor
GET /creator/profile
POST /creator/profile/update
POST /creator/pages/new-page
POST /creator/pages/create
POST /creator/pages/:id/update
POST /creator/pages/upload
POST /creator/pages/:id/deleteController:
src/controllers/creator.controller.tsAccess:
- Must be logged in.
- Must have
creatororadminrole. - Creator account must be active.
Mounted at:
/content-hubRoutes:
GET /content-hub
GET /content-hub/:slugController:
src/controllers/viewer_content_hub.controller.tsSocket.IO namespace:
/content-hubSocket events:
requestContent
likePost
disconnectStatic files:
public/Uploaded files:
/storageThe older wiki referenced routes that do not currently exist:
/c/:creatorSlug
/p/:postSlug
/content-pages
/uploads/:filename
/api/health
/admin/users
/admin/creators/:creatorId/postsDo not document these as current routes unless they are implemented later.
- Admin routes require admin access.
- Creator routes require creator/admin access.
- Creators should only mutate their own posts, profile, and media.
- POST routes should include CSRF protection.
- Public viewer routes do not require login.