Quick Start

Create a bun server with the following command

bun create elysia hi-elysia

Start Server

bun run dev

Add Postgres

Add Docker to create a Postgres only server.

Create a compose.yml file and add the following code

services:
  postgres:
    container_name: postgres
    image: postgres
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      - POSTGRES_DB=postgres
    ports:
      - 5432:5432
    volumes:
      - postgres_data:/var/lib/postgresql/data/
 
volumes:
  postgres_data: