Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 515 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 515 Bytes

kural-backend

To install dependencies:

bun install

Postgres setup

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.