Skip to content
ViserionBuildPublic

About

VAULT - Virtual Aggregation Utility for Links & Tasks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

80 Commits

Folders and files

Repository files navigation

VAULT

VAULT - Virtual Aggregation Utility for Links & Tasks

Phase 1 (Implemented)

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

Project Structure

  • /frontend – React application shell and auth UI
  • /backend – Express API and auth endpoints
  • /PRD – Product requirements document

Database

  • 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 or supabase 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.

Local Development

1) Backend

cd backend
cp .env.example .env
npm install
npm run dev

Backend API base URL: http://localhost:4000/api/v1

2) Frontend

cd frontend
cp .env.example .env
npm install
npm run dev

Frontend URL: http://localhost:5173

Validation Commands

cd backend && npm test
cd frontend && npm run lint && npm test && npm run build

About

VAULT - Virtual Aggregation Utility for Links & Tasks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages