MVP frontend for the Reviewer API — generate AI product reviews from marketplace links.
- React + TypeScript
- Vite
- Tailwind CSS v4
- react-i18next (English, Russian and French)
npm install
cp .env.example .env-
Start the Reviewer API on port 3000:
cd ../reviewer && npm run start:dev
-
Start the frontend:
npm run dev
Set VITE_API_URL to the API origin (no trailing slash). CORS must be allowed on the API for the frontend origin.
- Local:
VITE_API_URL=http://localhost:3000 - Vercel:
VITE_API_URL=https://your-api.vercel.app— redeploy after changing
Optional dev proxy: VITE_API_URL=/api — Vite proxies /api → http://localhost:3000 (no CORS in dev).
| Command | Description |
|---|---|
npm run dev |
Dev server |
npm run build |
Production build |
npm run preview |
Preview production build |