Skip to content

Quick Start

Welcome to Hatchgrid! This guide will help you set up the platform locally and publish your first piece of content in just a few steps.


Before getting started, make sure you have the following installed:

  • Node.js (v22+)
  • Java 21 (for backend)
  • Docker + Docker Compose
  • PostgreSQL client (optional but helpful)
  • pnpm (recommended for frontend)

Terminal window
git clone https://github.com/dallay/hatchgrid.git
cd hatchgrid

Install dependencies:

Terminal window
# Frontend
pnpm install
# Backend
./gradlew build

Copy and edit the example environment files:

Terminal window
cp .env.example .env
cp client/.env.example client/.env
cp server/.env.example server/.env

Adjust values such as database credentials, Keycloak settings, and ports.


Run the platform using Docker Compose:

Terminal window
docker compose up --build

This will start:

  • PostgreSQL
  • Keycloak
  • Hatchgrid backend
  • Hatchgrid frontend

Visit the frontend at:

docs -> http://localhost:4321
landing -> http://localhost:4322
web -> http://localhost:9876

The default Keycloak admin panel (for setting up users) is at:

http://localhost:9080

Default credentials (change them!):

  • Username: admin
  • Password: secret

Backend API is available at:

http://localhost:8080/api

  1. Login with your test user.
  2. Create a new workspace.
  3. Write a post.
  4. Choose publishing options (channels, summary, language).
  5. Publish or schedule it.

You’ve just published your first piece with Hatchgrid!


  • Run pnpm run check, pnpm run test, and pnpm run build in client to validate frontend.
  • Run ./gradlew test and ./gradlew detektAll in server to check backend.
  • Use logs from docker compose logs -f to identify issues.