Skip to content

The example of JWT authentication and cookie middlewares in Hono🔥 with Cloudflare Workers

Notifications You must be signed in to change notification settings

febriadj/hono-jwt

Repository files navigation

Hono: JWT Auth

The main purpose of this repository is to demonstrate JWT authentication and cookie middlewares in Hono🔥 with Cloudflare Workers.

Getting Started

Step 1: Clone this repository.

git clone https://github.com/febriadj/hono-jwt.git

Step 2: Rename the wrangler.example.toml file to wrangler.toml.

Step 3: Install dependencies.

npm install

Step 4: Create a Prisma data proxy connection string.

# https://www.prisma.io/docs/data-platform/projects/create#optional-create-a-data-proxy-connection-string

npx prisma generate --data-proxy

Step 5: Run the Hono app.

npm run dev

About

The example of JWT authentication and cookie middlewares in Hono🔥 with Cloudflare Workers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published