A full-stack AI Finder website.
- Backend: Node.js, Fastify, TypeScript, Prisma, PostgreSQL
- Frontend: React, Vite, TypeScript, TailwindCSS
- Monorepo: npm workspaces
- Node.js (v18+)
- npm (v9+)
- PostgreSQL
-
Install dependencies:
npm install
-
Environment Variables:
Create a
.envfile inbackend/based on your configuration:DATABASE_URL="postgresql://user:password@localhost:5432/findmyai?schema=public"
-
Database Migration:
npm run migrate --workspace=backend
Start both backend and frontend in development mode:
npm run dev- Frontend: http://localhost:5173
- Backend: http://localhost:3000
Build both workspaces:
npm run build