Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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 Database

Run 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.