This uses elysia to serve data from the relevant database.
Start the PostgreSQL Database
docker compose up
Push Table Structure to PostgreSQL from Drizzle
This should only be ran once, and ran each time you clear the data folder.
pnpm db:push
Run the application
pnpm install
pnpm start
All data for postgres is stored in the data directory.
Caution
When running tests all tables will be cleaned out for a clean test environment. You've been warned.
Start the PostgreSQL Database
docker compose up
Push Table Structure to PostgreSQL from Drizzle
This should only be ran once, and ran each time you clear the data folder.
pnpm db:push
Run the Tests
pnpm install
pnpm test