Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 736 Bytes

File metadata and controls

48 lines (34 loc) · 736 Bytes

Getting Started

Prerequisites

  • Node.js 20+
  • PostgreSQL 16
  • Docker (optional)

Installation

# 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

Docker

docker-compose up -d

Starts the node server alongside PostgreSQL automatically.

Configuration

Edit config.yaml:

server:
  port: 3042
  secret: "change-me"
database:
  url: "postgresql://user:password@localhost:5432/nox"
storage:
  path: "./assets"