Skip to content

About

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

110 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo List

Full-stack task board on TanStack Start - Trello-like boards, lists and cards. Live demo

CI TypeScript React TanStack Start PostgreSQL Tailwind CSS

Stack

Engineering highlights

  • Integration and E2E each migrate an isolated Neon branch before running in CI. Previews share staging and migrate it before building. Production migrations run in CI after checks pass on master. Decision #26, decision #57, decision #27
  • Board operations check the user's role before accessing the repository. SQL also limits access to boards the user owns or has joined. Integration tests cover access isolation. Decision #83
  • Optimistic edits, server-confirmed creation and immediate soft delete with Undo - decision #55, decision #56
  • Sentry wired with source maps via the Vite plugin, plus Vercel Analytics with normalized URLs - decision #38
  • Playwright covers auth, route guards and data isolation in a separate CI job. Decision #28, decision #81
  • Agent-assisted workflow: the owner approves a spec and accepts the PR on preview; an implementer subagent builds the feature and CI checks it - CONTRIBUTING.md, CODING.md

Architecture

flowchart LR
    Browser -->|HTTPS| Vercel[Vercel: TanStack Start SSR + server functions]
    Vercel --> Neon[(Neon Postgres)]
    Vercel --> BetterAuth[Better Auth]
    Vercel --> Sentry[Sentry]
    GHA[GitHub Actions] -->|ephemeral branch| Neon
    VercelPreview[Vercel preview deploy] -->|preview branch| Neon
Loading

Getting started

npm ci
docker compose up -d
npm run db:migrate
npm run dev

Requires Docker and a .env with DATABASE_URL=postgresql://postgres:postgres@localhost:5432/main and BETTER_AUTH_SECRET. Local development uses Docker Postgres; CI, previews and production use Neon.

For integration and e2e, set DATABASE_URL=postgresql://postgres:postgres@localhost:5432/test in .env.test and .env.e2e; set BETTER_AUTH_SECRET in .env.e2e. Migrate the test database on a fresh volume, then run tests:

npx drizzle-kit migrate --config=drizzle.config.test.ts
npm run test:unit
npm run test:integration
npm run test:e2e

Docs

About

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages