19 lines
427 B
Markdown

# Yuntu Report Local Server
## Setup
1. Copy `.env.example` to `.env`.
2. Update `DATABASE_URL` to point at your local PostgreSQL instance.
3. Optionally adjust `ALLOWED_ORIGIN` if you need to call the server from another origin.
4. Install dependencies with `npm install`.
5. Start the server with `npm run dev` or `npm start`.
## Endpoints
- `GET /health`
- `POST /api/reports`
## Default URL
- `http://localhost:3000`