Quick Start
Get up and running with the Advantch starter kit in minutes
Quick Start
Get your development environment set up and running in minutes.
Prerequisites
Before you begin, ensure you have the following installed:
| Tool | Version | Purpose |
|---|---|---|
| Python | 3.11+ | Backend runtime |
| Node.js | 20+ | Frontend runtime |
| pnpm | 9+ | Package manager |
| Docker | Latest | Development services |
| uv | Latest | Python package manager |
Clone the Repository
git clone https://github.com/your-org/advantch.git
cd advantchBackend Setup
- Install Python dependencies:
cd backend
uv sync --frozen- Set up environment variables:
cp .env.example .env
# Edit .env with your configuration- Start infrastructure services:
docker compose -f compose.lean.yaml up -dThis starts PostgreSQL, Redis, and Mailpit for local development.
- Run database migrations:
uv run python manage.py migrate- Create a superuser:
uv run python manage.py createsuperuser- Start the backend server:
uv run uvicorn config.asgi:application --host 0.0.0.0 --port 8080 --reloadFrontend Setup
- Install Node dependencies:
cd frontend
pnpm install- Start the development server:
pnpm devThe frontend will be available at http://localhost:3000.
Verify Installation
- Open
http://localhost:3000in your browser - You should see the landing page
- Navigate to
/loginto access the authentication flow - Log in with your superuser credentials
Project Structure
advantch/
├── backend/ # Django backend
│ ├── apps/ # Django applications
│ ├── config/ # Settings and configuration
│ └── docs/ # Documentation (MDX files)
├── frontend/ # Next.js frontend
│ ├── app/ # App Router pages
│ ├── components/ # React components
│ └── lib/ # Utilities
└── compose.lean.yaml # Infrastructure servicesNext Steps
- What is the Starter Kit? - Understand the architecture
- Authentication - Set up authentication
- Local Testing Setup - Configure testing environment
Last updated on