What is the Starter Kit?

Overview of the Advantch starter kit architecture, technology stack, and features

What is the Starter Kit?

The Advantch starter kit is a production-ready full-stack application template combining Django and Next.js with modern best practices.

Architecture Overview

┌─────────────────────────────────────────────────────────────┐
│                        Frontend                              │
│                    Next.js (App Router)                      │
│         React · TypeScript · TailwindCSS · Radix UI         │
└────────────────────────────┬────────────────────────────────┘


┌─────────────────────────────────────────────────────────────┐
│                        Backend                               │
│                       Django 5.x                             │
│     Django Ninja · Allauth · Celery · Django Channels       │
└────────────────────────────┬────────────────────────────────┘


┌─────────────────────────────────────────────────────────────┐
│                     Infrastructure                           │
│           PostgreSQL · Redis · S3 (Media Storage)           │
└─────────────────────────────────────────────────────────────┘

Technology Stack

Backend

TechnologyPurpose
Django 5.xWeb framework
Django NinjaType-safe REST API
django-allauthAuthentication (headless mode)
CeleryBackground task processing
Django ChannelsWebSocket support
PostgreSQL + pgvectorDatabase with vector search
RedisCaching and message broker

Frontend

TechnologyPurpose
Next.js 15React framework (App Router)
TypeScriptType safety
TailwindCSSStyling
Radix UIAccessible components
React Hook FormForm handling
Tanstack QueryData fetching
ZustandState management

Key Features

Authentication

  • Email/password authentication
  • Magic link login
  • Social OAuth (Google, GitHub, LinkedIn)
  • Multi-factor authentication (TOTP, WebAuthn)
  • JWT tokens for mobile/API clients

Multi-tenancy

  • Workspace-based isolation
  • Role-based access control
  • Tenant-aware data models

API

  • Type-safe endpoints with Django Ninja
  • Automatic OpenAPI documentation
  • Orval-generated TypeScript client

Developer Experience

  • Hot reloading for both frontend and backend
  • Docker Compose for infrastructure
  • Pre-configured linting and formatting
  • Comprehensive test setup

Project Structure

advantch/
├── backend/
│   ├── apps/
│   │   ├── accounts/     # Authentication
│   │   ├── ai/           # AI/ML features
│   │   ├── common/       # Shared utilities
│   │   ├── content/      # CMS functionality
│   │   ├── payments/     # Stripe integration
│   │   ├── tenants/      # Multi-tenancy
│   │   └── users/        # User management
│   ├── config/
│   │   ├── settings.py   # Django settings
│   │   ├── urls.py       # URL routing
│   │   └── api.py        # API configuration
│   └── templates/        # Email templates

├── frontend/
│   ├── app/
│   │   ├── (admin)/      # Admin pages
│   │   ├── (app)/        # Authenticated pages
│   │   └── (auth)/       # Auth pages
│   ├── components/       # React components
│   ├── generated/        # API client (Orval)
│   └── lib/              # Utilities

└── compose.yaml          # Docker services

Design Principles

  1. Type Safety - Full-stack type safety from database to UI
  2. Developer Experience - Fast iteration with hot reloading
  3. Production Ready - Security, performance, and scalability built-in
  4. Flexibility - Easy to customize and extend
  5. Best Practices - Modern patterns and conventions

Use Cases

The starter kit is ideal for:

  • SaaS applications
  • Internal tools and dashboards
  • Multi-tenant platforms
  • AI-powered applications
  • Content management systems

Next Steps

Last updated on

On this page