Administrative API for Podverse management system.
The Podverse Management API provides backend services for the management system, handling admin account authentication and management-specific operations.
- Node.js v22+
- PostgreSQL (management database on port 5999)
- npm
npm installCopy the example environment file and configure it:
cp .env.example .envKey environment variables:
API_PORT: API server port (default: 1999)DB_HOST: Management database hostDB_PORT: Management database port (default: 5999)AUTH_JWT_SECRET: JWT secret for authentication
Development mode with hot reload:
npm run dev:watchBuild for production:
npm run build:prodStart production server:
npm startBuild the Docker image:
docker build -t podverse-management-api .POST /api/v2/auth/login- Admin loginPOST /api/v2/auth/logout- Admin logoutGET /api/v2/auth/me- Get current admin user
GET /api/v2/admin-account/:id- Get admin account by ID
The management system uses its own PostgreSQL database with the following tables:
admin_account- Admin user accountsadmin_account_credentials- Admin login credentials
AGPLv3