{"repo":"fres-sudo/hono-auth","free":true,"listed":false,"github":"https://github.com/fres-sudo/hono-auth","clone":"git clone https://github.com/fres-sudo/hono-auth.git","description":"Opinionated Hono, Drizzle, Zod Authentication System 🔐","language":"TypeScript","stars":16,"topics":["authentication","drizzle","honojs","starter-kit","template","zod"],"license":null,"category":"auth-billing-email","readme_excerpt":"How to spin up a Hono Authentication System 🔐 Table of Contents Introduction Functionalities Technologies Architecture Overview Folder Structure File Naming Why? Who? Where? Getting Started Dependencies Setup Docker Setup Dockerfile Docker Compose Drizzle Setup Setup Env variables Configuration File Drizzle Configuration Drizzle Entry Point Dependence Injection Setup Email and Password Authentication Defining Routes Zod DTOs Validation Users Table Limiter Middleware Login and Signup Service Error Handling Hashing Service User Repository Database Provider User Repository Implementation Starting Docker and Testing JWT Access and Refresh Token System What is it? How it works? Defining Routes Refresh Token DTO Refresh Token Service Refresh Token Repository Sessions Table Authentication Middleware Update Login Flow Testing the Endpoints Email Verification Defining Routes Email Verification Service Token Service Mailer Service Email Templates Email Verifications Repository Email Verifications Table Users Table Forgot Password, OTP Code Verification, Reset Password What is it? How it works? Defining Routes Password Reset DTO Password Reset Service Password Reset Repository Conclusion What to do now? Resources Introduction In this article I'm will try my best to explain to you about the creation from the ground up of a complete authentication system for your next successful application. I'm sorry for any grammatical errors, this is my firs article and I'm not mother tongue. Function","default_branch":null,"files":null,"tree":[],"storefront":"/r/fres-sudo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fres-sudo/hono-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}