Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sayedtahsin/hono-bun-mongo
Server-side code for Routine project. Build with Hono, Bun, MongoDB.
https://github.com/sayedtahsin/hono-bun-mongo
bun cron hono jwt mongodb typescript
Last synced: 22 days ago
JSON representation
Server-side code for Routine project. Build with Hono, Bun, MongoDB.
- Host: GitHub
- URL: https://github.com/sayedtahsin/hono-bun-mongo
- Owner: SayedTahsin
- Created: 2024-10-07T16:36:35.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-11-14T17:30:36.000Z (3 months ago)
- Last Synced: 2024-11-14T18:28:36.453Z (3 months ago)
- Topics: bun, cron, hono, jwt, mongodb, typescript
- Language: TypeScript
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Routine App
Build with Hono.js framework on Bun Runtime Environment. Used MongoDb Database.
Used node-cron for Task scheduling.Same project build with Hono.js on Cloudflare-Workers Enviromnet & Used D1 Datasbe
Same project build with Express.js & used MongoDb and Supabase DatabaseRun Locally :
- clone repo
```bash
$ git clone [email protected]:SayedTahsin/Routine-Backend-Hono.git
```- make .env file
```sh
MONGO_URL=
JWT_SECRET=
NODE_ENV=development
PORT=
``````sh
bun i
bun run dev
```open http://localhost:3000
- [x] Connect Mongo DB
- [x] Task: Route, Controller
- [x] Note: Route, Controller
- [x] User: Route, Controller
- [x] cronjobs
- [x] JWT setup
- [x] Check Login : Middleware
- [ ] Make it Clourflare Deploy Friendly.