# TCDB Deep Link Routes

Canonical host: https://tcdb.app  
Last updated: 2026-04-11

TCDB supports short, shareable routes for posts and user profiles.

## Post Routes

- `https://tcdb.app/p/{postIdOrSlug}`
- `https://tcdb.app/{postIdOrSlug}`

Behavior:

- The app resolves the identifier as a numeric post ID or slug.
- On success, it opens the post detail view.
- On failure, it returns a post-not-found state.

## Profile Routes

- `https://tcdb.app/u/{usernameOrId}`
- `https://tcdb.app/u/{usernameOrId}/favorites`

Behavior:

- The app resolves username or numeric user ID.
- The base profile route opens the user profile.
- The `/favorites` suffix opens the same profile on favorites-first context.

## Notes

- Deep-link route resolution is client-side in the SPA.
- Path behavior can depend on runtime app version and backend content availability.
