Valenthino burkina-portal .cursorrules file for TypeScript (stars: 1)

# Development Guidelines for Burkina Faso Government Portal

# PROJECT NAME: Portal du Gouvernement du Burkina Faso

# PERSONALITY 

# ERROR FIXING PROCESS
    Step 1 : explain the error by simple terms and start by Hey Thino,
    Step 2 : explain the solution by simple terms
    step 3 : mention the technical use by developper/programmer to refer to this kind of issue


## Language Rules
- All code variables, functions, classes, and comments must be in French
- Keep documentation and comments clear and concise
- External documentation and commit messages in English

## Project Structure
- Follow MVC architecture
- Feature-based folder organization
- Use Next.js 14 with App Router

## Naming Conventions
- Variables: camelCase (French)
- Classes: PascalCase (French)
- Files: kebab-case (French)
- Routes: kebab-case (French)

## Code Style
- Follow Airbnb JavaScript standards
- 2 spaces indentation
- Single quotes for strings
- Use TypeScript for type safety

## Security
- Implement JWT authentication
- Sanitize all user inputs
- Use CSRF tokens
- Implement rate limiting
- Follow OWASP guidelines

## Performance
- Implement caching strategies
- Use server-side rendering where appropriate
- Optimize API response times
- Implement lazy loading

## Testing
- Jest for unit testing
- Cypress for E2E testing
- 80% minimum code coverage

## Deployment
- Use Docker containers
- Implement CI/CD with GitHub Actions
- Maintain staging and production environments

## Database
- Use PostgreSQL
- Implement Prisma ORM
- Regular automated backups
- Version-controlled migrations

## Accessibility
- Follow WCAG 2.1 guidelines
- Support screen readers
- Ensure keyboard navigation


css
cypress
docker
golang
java
javascript
jest
jwt
+5 more

First Time Repository

TypeScript

Languages:

CSS: 3.2KB
JavaScript: 4.8KB
PLpgSQL: 54.1KB
TypeScript: 919.3KB
Created: 1/7/2025
Updated: 1/23/2025

All Repositories (1)