https://github.com/devlopersabbir/hono-with-deno
Hono with drizzle ORM CRUD API - deno runtime
https://github.com/devlopersabbir/hono-with-deno
crud-api deno denowith drizzle drizzle-orm hono orm pg
Last synced: 10 months ago
JSON representation
Hono with drizzle ORM CRUD API - deno runtime
- Host: GitHub
- URL: https://github.com/devlopersabbir/hono-with-deno
- Owner: devlopersabbir
- Created: 2024-10-23T15:09:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-14T19:48:16.000Z (11 months ago)
- Last Synced: 2025-07-14T23:59:39.275Z (11 months ago)
- Topics: crud-api, deno, denowith, drizzle, drizzle-orm, hono, orm, pg
- Language: TypeScript
- Homepage: https://youtu.be/LGJLTFLE2Ek?list=PLdcGGiDG9Q0j7pLzVcWvFptCPbENkfl7S
- Size: 122 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1. What is hono and why we should use `hono`
2. Discuss about hono supported all package manager
3. How to create hono app using DENO runtime
4. Hello world - first app creation
5. Hono middlewares
6. Hono request `query` and `params`
7. Introducing drizzle orm
8. Creating a `drizzle.config.ts`
```ts
export default {
schema: "./src/db/schema.ts",
out: "./drizzle",
dialect: "postgresql",
dbCredentials: {
url: process.env.DATABASE_URL,
},
};
```
9. Create a postgress database into the docker container & Schema creation using drizzle and postgres
```bash
bash docker.sh
```
10. Generate database using `drizzle-kit generate` and check the generated file
```bash
deno run --node-modules-dir -A npm:drizzle-kit generate --config=drizzle.config.ts
```
11. Migrate database using `drizzle-kit migrate`
```bash
deno --env -A --node-modules-dir npm:drizzle-kit migrate --config=drizzle.config.ts
```
12. Pool drizzle database connection
13. Introducing about CRUD operation in hono web framewwork
14. Create a new post
15. Read all post from postgresql database
16. Update a single post using `params id`
17. Delete a single post using `params id`
18. Query single post by `quary params`
19. Test our entire app
20. Deploy Hono REST API