URL Routes (Frontend + API)
Standard: kebab-case
| Correct | Incorrect |
|---|---|
/video-scripts | /video_scripts |
/social-posts | /social_posts |
/bulk-import | /bulkImport |
/link-in-bio | /linkInBio |
Single words: No separator needed (/user, /company, /platform)
File Names
| Type | Convention | Example |
|---|---|---|
| React Components | PascalCase | CompanyPage.tsx |
| Utilities/Services | camelCase | authService.ts |
| Config/Data | kebab-case | naming-conventions.md |
Database Models (Prisma)
Standard: PascalCase with tier prefix
| Tier | Prefix | Example |
|---|---|---|
| Platform | None | SystemSettings, FeatureFlag |
| Company | Company | CompanyBrandProfile, CompanyAsset |
| User | User | UserUsage, UserSocialAccount |
Exception: User and Company models themselves don't need prefix.
API Endpoints
Standard: kebab-case
| Correct | Incorrect |
|---|---|
/api/social-accounts | /api/socialAccounts |
/api/brand-profiles | /api/brandProfiles |