A comprehensive collection of production-ready boilerplates, templates, and configurations for modern development workflows. This repository helps you quickly bootstrap projects with best practices and industry-standard tooling.
- Python Projects
- Node.js/JavaScript Projects
- Docker & Containers
- CI/CD Pipelines
- Configuration Files
- Database Templates
- Kubernetes & Infrastructure
- Templates
- Gitignore Files
Production-ready Python project structures with modern tooling.
| Template | Description | Path |
|---|---|---|
| Basic Python | Minimal Python project structure | python/basic/ |
| Flask App | Flask web application with blueprints | python/flask/ |
| FastAPI App | Modern async FastAPI application | python/fastapi/ |
| CLI Tool | Command-line tool with Click | python/cli-tool/ |
Features:
- Clean project structure
- Virtual environment setup
- Testing with pytest
- Linting (flake8, black, mypy)
- Environment configuration
- Database integration ready
Modern JavaScript/TypeScript project templates.
| Template | Description | Path |
|---|---|---|
| Express API | RESTful API with Express.js | nodejs/express/ |
| React App | React application with routing | nodejs/react/ |
| CLI Tool | Command-line tool with Commander.js | nodejs/cli-tool/ |
Features:
- ES6+ with modules
- ESLint & Prettier
- Testing setup
- Hot reload
- Environment variables
- Security best practices
Dockerfile templates and Docker Compose configurations.
| Template | Description | Path |
|---|---|---|
| Python Docker | Dockerfiles for Python apps | docker/python/ |
| Node.js Docker | Dockerfiles for Node.js apps | docker/nodejs/ |
| Multi-stage | Optimized multi-stage builds | docker/multi-stage/ |
Features:
- Multi-stage builds
- Security best practices
- Non-root users
- Health checks
- Optimized layer caching
- Docker Compose included
Ready-to-use CI/CD workflow templates.
| Workflow | Description | Path |
|---|---|---|
| Node.js CI | Build, test, deploy Node.js apps | cicd/github-actions/node-ci.yml |
| Python CI | Build, test, deploy Python apps | cicd/github-actions/python-ci.yml |
| Docker Build | Build and push Docker images | cicd/github-actions/docker-build.yml |
Features:
- Matrix builds for multiple versions
- Automated testing
- Code coverage reporting
- Security scanning
- Deployment automation
Standard configuration files for development tools.
| Config | Description | Path |
|---|---|---|
| ESLint | JavaScript linting rules | configs/eslint/ |
| Prettier | Code formatting rules | configs/prettier/ |
| EditorConfig | Editor consistency | configs/editorconfig/ |
| Python Tools | Black, mypy, pytest config | configs/pyproject.toml |
Docker Compose configurations for popular databases.
| Database | Description | Path |
|---|---|---|
| MongoDB | NoSQL document database with Mongo Express | database/mongodb/ |
| PostgreSQL | Relational database with pgAdmin | database/postgresql/ |
| MySQL | Relational database with phpMyAdmin | database/mysql/ |
Features:
- Docker Compose setup
- Persistent volumes
- Admin interfaces included
- Initialization scripts
- Health checks
Kubernetes manifests and Terraform templates for cloud deployments.
| Template | Description | Path |
|---|---|---|
| Deployment | Application deployment manifests | kubernetes/deployment.yml |
| Service | Service definitions | kubernetes/service.yml |
| Ingress | Ingress configuration | kubernetes/ingress.yml |
| ConfigMap/Secret | Configuration management | kubernetes/configmap.yml |
| Template | Description | Path |
|---|---|---|
| AWS Setup | Terraform AWS configuration | terraform/ |
| Variables | Input variables template | terraform/variables.tf |
| Providers | Provider configuration | terraform/providers.tf |
Document templates for common project needs.
| Template | Description | Path |
|---|---|---|
| README | Comprehensive README template | templates/readme/ |
| CONTRIBUTING | Contribution guidelines | templates/contributing/ |
Comprehensive .gitignore templates for different technologies.
| Template | Description | Path |
|---|---|---|
| Python | Python-specific ignores | gitignore/python.gitignore |
| Node.js | Node.js-specific ignores | gitignore/nodejs.gitignore |
| General | Common ignore patterns | gitignore/general.gitignore |
- Browse the boilerplates above to find what you need
- Copy the template to your project directory
- Customize the configuration files and variables
- Install dependencies and start developing!
# Copy the Flask boilerplate
cp -r python/flask/* my-flask-app/
cd my-flask-app
# Set up environment
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Run the application
flask run- Security: Non-root users in Docker, environment variables, input validation
- Testing: Unit tests, integration tests, coverage reporting
- Code Quality: Linting, formatting, type checking
- Documentation: Clear README templates, inline comments
- CI/CD: Automated testing and deployment
- Performance: Caching, optimization, multi-stage builds
Contributions are welcome! If you have a boilerplate or template that would be useful:
- Fork the repository
- Create a feature branch
- Add your boilerplate with documentation
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Start small: Use basic templates and add complexity as needed
- Customize: These are starting points - adapt them to your needs
- Stay updated: Check back for new templates and updates
- Share feedback: Open issues for suggestions or improvements
Happy coding! π