Yuntu Report Local Server
Setup
- Copy
.env.exampleto.env. - Update
DATABASE_URLto point at your local PostgreSQL instance. - Optionally adjust
ALLOWED_ORIGINif you need to call the server from another origin. - Install dependencies with
npm install. - Start the server with
npm run devornpm start.
Endpoints
GET /healthPOST /api/reports
Default URL
http://localhost:3000