LuxeKnox backend spine and core platform services.
- Node.js >= 20.x
- pnpm >= 9.x
- MySQL 8.4 LTS installed and running locally
The backend uses a MySQL 8.4 LTS instance hosted directly on the local machine (not Docker), configured with UTC datetime (time_zone = '+00:00'), READ-COMMITTED transaction isolation, and utf8mb4_0900_ai_ci collation.
Default credentials for local development (as configured in .env.example):
- Host:
localhost(or127.0.0.1) - Port:
3306 - Database:
luxeknox - Username:
luxeknox - Password:
luxeknox_secret - Root Password:
root_secret - Database URL:
mysql://luxeknox:luxeknox_secret@localhost:3306/luxeknox
You can verify that the custom configuration was applied by connecting via the MySQL CLI:
mysql -u luxeknox -pluxeknox_secret luxeknox -e "SELECT @@global.time_zone, @@session.time_zone, @@global.transaction_isolation, @@session.transaction_isolation;"Expected output:
@@global.time_zone:+00:00@@session.time_zone:+00:00@@global.transaction_isolation:READ-COMMITTED@@session.transaction_isolation:READ-COMMITTED
The API server runs NestJS with global prefix /v1 and interactive Swagger / OpenAPI documentation served at /v1/docs.
pnpm installRun the API service in watch mode:
pnpm api:dev
# or
pnpm --filter api start:devThe server listens on http://localhost:3000 (or the configured PORT environment variable).
Once started, the OpenAPI documentation is accessible at:
- Swagger UI: http://localhost:3000/v1/docs
- OpenAPI JSON specification: http://localhost:3000/v1/docs-json
pnpm api:typecheck
# or
pnpm --filter api typecheck
pnpm api:build
# or
pnpm --filter api build