https://github.com/ethern-myth/hono-drizzle
Hono serverless
https://github.com/ethern-myth/hono-drizzle
api crud drizzle-orm honojs neon postgresql serverless typescript
Last synced: 18 days ago
JSON representation
Hono serverless
- Host: GitHub
- URL: https://github.com/ethern-myth/hono-drizzle
- Owner: Ethern-Myth
- License: mit
- Created: 2023-12-26T18:02:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-27T17:54:28.000Z (over 1 year ago)
- Last Synced: 2024-11-24T19:54:11.552Z (5 months ago)
- Topics: api, crud, drizzle-orm, honojs, neon, postgresql, serverless, typescript
- Language: TypeScript
- Homepage:
- Size: 14.6 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### HONO SERVERLESS API AS CLOUDFLARE WORKERS
##### (1) Created using Hono
Fast, Lightweight, Web-standards Runs on any JavaScript runtime.
Check it out yourself : https://hono.dev/
Very well documented for easier read and guidance
Information about components and other great stuff.##### (2) Drizzle a bit of an ORM(Object-relational mapping)
Steroids on check. the typescript orm build for such heavy lifting...
https://orm.drizzle.team/
All great docs are found there.##### (3) SQL they way out of things
Chose to use Postgres as we are going serverless with serving things.
A list of sql to choose from :
MYSQL or PostgresThis is entirely based on NEON https://neon.tech/
For other changes just try to code it differentWhy stop now. Have it different and learn new difference.
All ``Thanks`` to the technologies used for their availability.## SETUP
1. First clone this repo and like if possible. Even add an issue.
```
yarn
```2. Connect database, add connection url in .dev.vars then last run:
```
yarn generate
yarn migrate
yarn dev
```3. All is done. Good luck coding...