You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: auto-register routes and remove plural 's' from generated services
IMPROVEMENTS:
1. Routes now auto-register in src/app.ts (no manual step!)
2. Removed plural 's' from route prefix (/classify instead of /classifys)
3. Removed plural 's' from Prisma table names (classify instead of classifys)
HOW IT WORKS:
- Generator now modifies src/app.ts to add import and registration
- Inserts after Todo routes as a reference point
- Uses singular form for both routes and table names
BEFORE:
```
Next steps:
1. Register route in src/app.ts manually
prefix: '/classifys' ❌
```
AFTER:
```
✅ Auto-registered in src/app.ts
prefix: '/classify' ✅
```
Much better DX!
0 commit comments