To install dependencies:
bun install
To run:
bun run src/index.ts
This project was created using bun init
in bun v1.1.20. Bun is a fast all-in-one JavaScript runtime.
create .env file
POSTGRES_USER=<db-user>
POSTGRES_PASSWORD=<db-passwd>
POSTGRES_DB=<db-name>
POSTGRES_HOSTNAME='katpool-db' # Configure the hostname.
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOSTNAME}:5432/${POSTGRES_DB}"