Quick Start

API

Get the RawStack API up and running locally.

Prerequisites

  • Node.js 20+
  • Docker & Docker Compose

Steps

1. Install dependencies

cd apps/api
npm install

2. Start local services

Spin up PostgreSQL (port 5434) and Redis (port 6379):

docker compose up -d

3. Configure environment

cp .env.dist .env

Edit .env with your local values. The defaults work out of the box for Docker Compose.

4. Run migrations and start the dev server

npm run dev

The API is now available at http://localhost:3001.

On this page