Skip to content

Latest commit

 

History

History
 
 

.devcontainer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Devcontainer Setup

Architecture

graph LR
    subgraph Devcontainer
        App[Next.js :3000]
        DB[(Postgres :5432)]
        Redis[(Redis :6379)]
    end

    App --> DB
    App --> Redis

    subgraph External APIs
        Google[Google OAuth]
        LLM[LLM Provider]
    end

    App -.-> Google
    App -.-> LLM
Loading

Quick Start

1. Open in VS Code

Cmd+Shift+P → Dev Containers: Reopen in Container

Setup runs automatically (installs deps, generates secrets, runs migrations).

2. Add your API keys to apps/web/.env

Variable Source
GOOGLE_CLIENT_ID Google Cloud Console
GOOGLE_CLIENT_SECRET Same
DEFAULT_LLMS provider:model for your preferred LLM provider
LLM_API_KEY API key for the configured LLM provider, if required

Google OAuth setup:

  • Create OAuth 2.0 Client ID (Web application)
  • Authorized origin: http://localhost:3000
  • Redirect URI: http://localhost:3000/api/auth/callback/google

3. Run

pnpm dev

Open http://localhost:3000

What's auto-configured

  • PostgreSQL + Redis (local containers)
  • Auth secrets (auto-generated)
  • LLM config placeholders (DEFAULT_LLMS, ECONOMY_LLMS, CHAT_LLMS, NANO_LLMS, DRAFT_LLMS)