5c0ca0e139bacb6412efc22eabd9d5b24476d23e
- Removed the API proxy middleware and integrated RPC routes for user authentication. - Implemented JWT token generation and validation in the authentication middleware. - Enhanced user registration and login processes with password hashing and token management. - Added new routes for user password reset and Google OAuth login. - Introduced health check endpoints for service monitoring. - Updated gRPC client methods for user management, including password updates. - Refactored utility functions for token handling and Redis interactions. - Improved type definitions for better TypeScript support.
npm install
npm run dev
npm run deploy
For generating/synchronizing types based on your Worker configuration run:
npm run cf-typegen
Pass the CloudflareBindings as generics when instantiation Hono:
// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()
Description
Languages
TypeScript
72.3%
Vue
27.3%
HTML
0.4%