Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ajalzahrani/bun-hono-drizzle-sqlite

Bun starting kit application uses (hono, drizzle, sqlite, and zod)
https://github.com/ajalzahrani/bun-hono-drizzle-sqlite

api-versioning bun drizzle hono orm sqlite starting-kit

Last synced: about 6 hours ago
JSON representation

Bun starting kit application uses (hono, drizzle, sqlite, and zod)

Awesome Lists containing this project

README

        

# Bun-Hono-Drizzle-SQLite Starter Kit

Install dependencies:

```bash
bun install
```

Rename `.env.example` to `.env`
set the `PORT` environment variable, and
set the `DB_FILE_NAME` environment variable

Set up the database:

```bash
bun run db:push
```

Run the server:

```bash
bun run dev
```

Use `test.rest` to test the API

This starter kit was created using `bun init` in bun v1.1.32. [Bun](https://bun.sh).

# Features

- Hono web framework
- Drizzle ORM
- SQLite database
- Zod for data validation
- Environment variables
- API versioning
- API documentation

Good luck!