AI prompt builder with template management, Gemini integration, and user accounts.
- Frontend: React, TypeScript, Vite, Tailwind
- Backend: Node.js, Express, MongoDB
- Auth: JWT
# Frontend
cp .env.example .env
npm install
npm run dev
# Backend
cd backend
cp env.example .env
npm install
npm run dev| Variable | Location | Description |
|---|---|---|
VITE_API_URL |
Frontend .env |
API base URL (e.g. http://localhost:3001/api) |
MONGODB_URI |
Backend .env |
MongoDB connection string |
JWT_SECRET |
Backend .env |
Secret for signing tokens |
GEMINI_API_KEY |
Backend .env |
Server key for free hosted AI (daily limits) |
HOSTED_AI_LIMIT_GUEST |
Backend .env |
Free AI gens/day for guests (default 10) |
HOSTED_AI_LIMIT_AUTH |
Backend .env |
Free AI gens/day for signed-in users (default 30) |
CORS_ORIGIN |
Backend .env |
Allowed frontend origins (comma-separated) |
Deploy with render.yaml:
npm run build # frontend
cd backend && npm run build && npm startSet CORS_ORIGIN and VITE_API_URL to your deployed URLs before going live.
| Command | Description |
|---|---|
npm run dev |
Start frontend dev server |
npm run build |
Build frontend for production |
cd backend && npm run dev |
Start backend with hot reload |
cd backend && npm run seed |
Seed users, templates, prompts |
cd backend && npm run seed:suggestions |
Seed field suggestion catalog |
See PRODUCT.md for product rules.