Loading repository dataβ¦
Loading repository dataβ¦
code-geek / repository
π Production-ready Django + Next.js template with AI-powered development tools, Claude Code agents, Docker, CI/CD, and comprehensive documentation. Get started in minutes!
A comprehensive Django + Next.js template optimized for AI-assisted development
This template provides a modern, production-ready foundation for building full-stack applications with Django and Next.js. It's specifically designed to work seamlessly with AI coding assistants like Claude, featuring specialized agents, clear documentation structure, and best practices baked in.
Create your repository from this template:
# Using GitHub CLI
gh repo create my-project --template code-geek/ai-project-template --public
# Or use the GitHub web interface:
# Click "Use this template" button on GitHub
Clone and setup your new project:
git clone https://github.com/YOUR_USERNAME/my-project
cd my-project
# Run the setup script
./scripts/setup-dev.sh
Start developing:
# Using Docker (recommended)
docker-compose up
# Or run separately
cd backend && uv run python manage.py runserver
cd frontend && npm run dev
Project Name with your project name throughoutpackage.json and pyproject.toml with your project detailsCLAUDE.md files to reflect your project's specific needs.env.example files and update with your settingsALLOWED_HOSTS and CORS_ALLOWED_ORIGINS in Django settingsNEXT_PUBLIC_API_URL in frontend .env.localdocker-compose.yml if not needed.github/workflows/ to match your deployment targetmain and productionThis template includes specialized AI agents in .claude/agents/:
Agents activate automatically based on context or can be requested explicitly.
.
βββ .claude/ # AI assistant configuration
β βββ agents/ # Specialized AI agents
βββ backend/ # Django REST API
β βββ apps/ # Django applications
β βββ config/ # Settings and configuration
β βββ tests/ # Test files
βββ frontend/ # Next.js application
β βββ src/ # Source code
β β βββ app/ # App Router pages
β β βββ components/ # React components
β βββ tests/ # Test files
βββ docs/ # Documentation
βββ scripts/ # Utility scripts
βββ docker-compose.yml
cd backend
uv sync # Install dependencies
cp .env.example .env # Configure environment
uv run python manage.py migrate # Setup database
uv run python manage.py runserver # Start server (localhost:8000)
cd frontend
npm install # Install dependencies
cp .env.example .env.local # Configure environment
npm run dev # Start dev server (localhost:3000)
This template includes comprehensive pre-commit hooks for maintaining code quality:
# Install pre-commit hooks (one-time setup)
uv tool install pre-commit
pre-commit install
# Run hooks manually
pre-commit run --all-files
# Skip specific hooks if needed (e.g., Docker when daemon not running)
SKIP=hadolint-docker git commit -m "your message"
Included hooks:
# Backend tests
cd backend && uv run pytest
# Frontend tests
cd frontend && npm run test:e2e
# Run all tests
./scripts/run-tests.sh
# Build and run production containers
docker-compose -f docker-compose.prod.yml up --build
# Configure AWS credentials
aws configure
# Deploy using the script
./scripts/deploy.sh production
See deployment guide for detailed instructions.
We welcome contributions! Please see our Contributing Guide for details.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Need help? Open an issue or check the documentation.