Skip to content

Project scaffold — monorepo, Fastify, Next.js, Postgres + pgvector, DB schema #1

@Punkte

Description

@Punkte

What to build

Bootstrap the full project skeleton end-to-end: monorepo structure, Fastify + TypeScript backend, Next.js + TypeScript + Tailwind frontend, PostgreSQL with pgvector extension, Drizzle ORM schema, and a passing health-check route. Everything compiles and the DB schema migrates cleanly.

Acceptance criteria

  • revive-api and revive-web packages exist in the monorepo
  • POST /health returns 200
  • PostgreSQL running locally with pgvector extension enabled
  • Drizzle schema defines: users, conversations, personas, chunks, chat_messages
  • chunks.embedding vector(1536) column with HNSW index
  • npm run dev starts both API and frontend without errors
  • TypeScript compiles with no errors

Blocked by

None — can start immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageMaintainer needs to evaluate this issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions