- Node.js 20+
- PostgreSQL 16
- Docker (optional)
# Install dependencies
npm install
# Configure
cp config.yaml.example config.yaml # edit database, secret, etc.
# Run migrations
npx prisma migrate dev
# Start development server
npm run start:dev- API: http://localhost:3042
- Swagger UI: http://localhost:3042/api
docker-compose up -dStarts the node server alongside PostgreSQL automatically.
Edit config.yaml:
server:
port: 3042
secret: "change-me"
database:
url: "postgresql://user:password@localhost:5432/nox"
storage:
path: "./assets"