VAULT - Virtual Aggregation Utility for Links & Tasks
This repository now includes the Phase 1 foundation from the PRD:
- Frontend setup with Vite + React + TailwindCSS + shadcn-style UI primitives
- Backend setup with Express 5 + Supabase client wiring + PostgreSQL dependency baseline
- JWT authentication with signup, login, logout, and refresh-token rotation
- Protected routes on frontend and backend (
/api/v1/auth/me) - Password hashing using bcrypt (12 salt rounds)
- Responsive application shell with top navigation + collapsible sidebar
- Theme system with Dark / Light / System persistence in
localStorage - API health endpoint at
/api/v1/health - Auth rate limiting at 5 requests/minute per IP
/frontend– React application shell and auth UI/backend– Express API and auth endpoints/PRD– Product requirements document
- Base schema:
backend/src/db_service/queries/*.sql, run in filename order on a new database. - Migrations:
supabase/migrations/*.sql, applied in filename order (Supabase SQL editor orsupabase db push). Each is safe to re-run (if not exists). - Every schema change ships as a new migration file in the same PR as the code that needs it, so the deployed code never runs ahead of the database.
cd backend
cp .env.example .env
npm install
npm run devBackend API base URL: http://localhost:4000/api/v1
cd frontend
cp .env.example .env
npm install
npm run devFrontend URL: http://localhost:5173
cd backend && npm test
cd frontend && npm run lint && npm test && npm run build