To install dependencies:
bun install
CREATE TABLE hosts(username text, password bytea)
create a .env
file for Postgres login credentials and Backend Port:
export PGUSER=username
export PGPASSWORD=password
export PGDATABASE=databasename
export PGPORT=5432
export KPORT=3000
To run:
bun run index.ts
This project was created using bun init
in bun v1.0.3. Bun is a fast all-in-one JavaScript runtime.