Marketplace

demo

Other

Live togo demo — a homepage + admin dashboard generated by togo (powers demo.to-go.dev)

togo-framework
bash
togo install togo-framework/demo

Demo

Built with togo — Go, the artisan way. API-first (GraphQL + REST/OpenAPI), Supabase auth, plugin-extensible, AI-native.

Quickstart

bash
cp .env.example .env          # configure DATABASE_URL + Supabase
docker compose up -d          # Postgres / Supabase
togo make:resource Post title:string body:text:nullable
togo generate                 # sqlc + gqlgen + atlas + openapi
togo migrate
togo serve                    # backend + frontend together

togo serve runs both the Go API and the Next.js frontend (installing web deps on first run). Use togo serve --api-only / --web-only, or togo web.

Stack

  • API: chi + Huma (REST/OpenAPI 3.1) + gqlgen (GraphQL)
  • Data: sqlc (typed queries) + Atlas (migrations) + pgx/Postgres
  • Auth + Storage: Supabase (@supabase/ssr) — client/server/middleware wired
  • Frontend: Next.js 15 (App Router) + Tailwind CSS v4 + shadcn-style ui/ primitives (CVA + cn()), next-themes (dark mode), sonner toasts, lucide icons
  • AI: .claude/ skills + agents + .mcp.json wired to the togo MCP server

Layout

swift
cmd/api/            HTTP entrypoint (REST + GraphQL)
internal/models/    domain structs            (togo make:resource)
internal/db/        sqlc schema + queries + generated code
internal/graph/     GraphQL schema + resolvers
internal/rest/      Huma handlers + generated route registry
internal/resources/ resource descriptors (dashboard/admin)
db/atlas/           Atlas desired-state schema + migrations
web/                Next.js frontend
.claude/            skills, agents, rules for Claude Code
togo.yaml           project config
togo.resources.yaml resource manifest (source of truth for codegen)