This is a simple flight booking API built with Bun.
- Clone the repository
- Copy .env.sample to .env and update the variables. For example, you can refer the following
PORT=3000
LOG_LEVEL=info
TIMESTAMP_FORMAT=YYYY-MM-DD HH:mm:ss
DATABASE_URL="file:./dev.db"
- Run
bun install
to install dependencies - Run
bunx prisma migrate deploy
to update migrations - Run
bun start
to start the server
To run:
bun start
To run tests:
bun test
To seed the db:
bun run prisma-seed
This project was created using bun init
in bun v1.1.45. Bun is a fast all-in-one JavaScript runtime.