Development rules for a laundry/dry cleaning management MVP with React frontend and NestJS backend
A Cursor rules skill for developing a laundry and dry cleaning management MVP with separate frontend and backend applications.
This project is a monorepo containing two applications:
1. **Monorepo Structure**: Maintain clear separation between frontend and backend codebases
2. **Frontend (apps/frontend)**:
- Use React with TypeScript for type safety
- Follow React best practices and hooks patterns
- Implement component-based architecture
- Use modern state management approaches
3. **Backend (apps/backend)**:
- Use NestJS framework with Express
- Follow NestJS module/controller/service architecture
- Implement proper dependency injection
- Use TypeScript decorators and types
4. **Database**:
- PostgreSQL running in Docker container
- Use migrations for schema changes
- Consider using an ORM (TypeORM, Prisma, or Drizzle)
When adding new features:
1. Define backend API endpoints first
2. Implement frontend components that consume the API
3. Ensure proper error handling on both sides
4. Test the complete flow from UI to database
When debugging:
1. Check both frontend console and backend logs
2. Verify Docker container is running for database
3. Confirm environment variables are set correctly
4. Test API endpoints independently before frontend integration
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/laundry-manager-mvp-development/raw