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 installto install dependencies - Run
bunx prisma migrate deployto update migrations - Run
bun startto start the server
To run:
bun startTo run tests:
bun testTo seed the db:
bun run prisma-seedThis project was created using bun init in bun v1.1.45. Bun is a fast all-in-one JavaScript runtime.