A standardized project template repository for consistent project setup across all development projects.
- Use this template to create a new repository on GitHub
- Clone your new repository locally
- Run the setup script (if applicable)
- Update project-specific information in this README and other config files
- Delete or modify template-specific content as needed
project-root/
├── .github/ # GitHub workflows and templates
│ ├── workflows/
│ │ ├── ci.yml # Continuous Integration
│ │ └── deploy-staging.yml # Auto-deploy to staging
│ ├── pull_request_template.md
│ └── issue_template.md
├── .cursor/ # Cursor AI rules and configuration
│ └── rules/
│ └── project-rules.md # Project-specific Cursor rules
├── .vscode/ # VS Code settings
│ └── settings.json
├── docs/ # Documentation
│ ├── DEPLOYMENT.md
│ ├── DEVELOPMENT.md
│ └── API.md
├── src/ # Source code
│ ├── components/ # Reusable components
│ ├── pages/ # Page components/views
│ ├── styles/ # Stylesheets
│ ├── utils/ # Utility functions
│ └── assets/ # Static assets
├── public/ # Public static files
├── tests/ # Test files
├── Dockerfile # Docker configuration
├── docker-compose.yml # Development environment
├── .dockerignore # Docker ignore rules
├── .env.example # Environment variables template
├── .gitignore # Git ignore rules
├── .gitattributes # Git attributes (CRLF fixes)
├── .cursorignore # Cursor ignore rules
├── .dockerignore # Docker ignore rules
├── package.json # Dependencies and scripts
├── CHANGELOG.md # Change log
├── TASKS.md # Action items and task list
└── README.md # This file
main: Production-ready code (protected, no direct commits after initial setup)dev: Development integration branch (auto-deploys to staging)feature/*: New features (feature/user-authentication)fix/*: Bug fixes (fix/login-error)docs/*: Documentation updates (docs/api-guide)refactor/*: Code refactoring (refactor/user-service)
Use semantic prefixes for all commits:
feat:New featuresfix:Bug fixesdocs:Documentation changesrefactor:Code refactoringtest:Test updateschore:Maintenance tasks
Example: feat: add user authentication system
- Create feature branch from
dev - Make changes and commit with semantic prefixes
- Update CHANGELOG.md and TASKS.md
- Test thoroughly (staging environment if needed)
- Create PR to
devbranch - After review and merge, delete feature branch
- Changes auto-deploy to staging from
dev - When ready for production, merge
devtomain
docker-compose up -ddocker build -t project-name .# Set global defaults
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
# Per-project overrides (if needed)
git config user.name "Work Name"
git config user.email "work.email@company.com"Configure ~/.ssh/config for multiple accounts:
Host github-personal
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_personal
Host github-work
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_work
See TASKS.md for current action items and project tasks.
See CHANGELOG.md for version history and changes.
- Staging: Auto-deploys from
devbranch - Production: Manual deployment from
mainbranch - Platform: Coolify-managed server with Docker
See docs/DEPLOYMENT.md for detailed deployment instructions.
This project includes standardized Cursor AI rules in .cursor/rules/project-rules.md for:
- Consistent coding standards
- Automated changelog updates
- Commit message assistance
- Code review guidance
[Specify your license here]
[Add contributor information]
Note: This is a template repository. Update this README with project-specific information after creating your new project.