Install and Run
- Work from the `zitrabot-master-node` project root.
- Install dependencies first, then start the server in development mode.
npm install npm run dev
Backend Documentation
Use this page to boot the backend locally and understand the minimum contract needed to interact with it safely from the frontend or from external integrations.
npm install npm run dev
Before touching bots or integrations, confirm the server is reachable and understand how authentication is expected to work.
A healthy server returns memory, environment, uptime, and database readiness details.
curl -i http://localhost:5000/api/health
After verification or login, protected routes use a bearer token in the standard authorization header.
Authorization: Bearer <jwt>