This is the official website repository for Cindral.
$response = Invoke-RestMethod -Uri "http://localhost:4000/api/login" -Method Post -Body (@{password="admin123"} | ConvertTo-Json) -ContentType "application/json"; $token = $response.token; Invoke-RestMethod -Uri "http://localhost:4000/api/data/reset" -Method Post -Headers @{Authorization="Bearer $token"}This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1pQ0nP3RR7PCe5OaDhV4N77o1zk_J76eM
Prerequisites: Node.js
- Install dependencies:
npm install - Configure .env.local:
GEMINI_API_KEY– optional, used for AI features.ADMIN_PASSWORD– password checked by the Express API (defaultadmin123).VITE_API_BASE_URL– URL of the API server (defaults tohttp://localhost:4000).
- Start both the Vite client and the API with:
npm run dev(usenpm run serverif you only need the API running)
