It is a simple API backend application that uses the following technologies:
- Bun
- Bun SQLite
- Drizzle ORM
- Express
- TS Rest
- Swagger UI Express
To get started, clone this repository and run bun install
to install the dependencies. Then, run bun https.ts
to start the development server.
to open swagger UI you can go to http://localhost:3000/api-docs/
The database is a filesystem sqlite.db
file.The database schema is located in the db/schema.ts
.
This already created a migration file in the drizzle/migrations
folder.
To run the migrations, run :
bun migrate.ts
- TODO