{"repo":"javadzarezadeh/fastforge","free":true,"listed":false,"github":"https://github.com/javadzarezadeh/fastforge","clone":"git clone https://github.com/javadzarezadeh/fastforge.git","description":"A modern FastAPI backend boilerplate","language":"Python","stars":13,"topics":["authentication","backend","fastapi","python"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"🚀 FastForge FastForge is a lightweight, secure, and scalable FastAPI boilerplate designed for rapid development of authentication-driven applications. It features a robust authentication system with phone-based OTP verification and role-based access control, built with modern Python tools and best practices. If you find this project helpful, consider supporting it with a crypto donation. ✨ Features - 🔒 Secure Authentication : - Phone-based registration and login with 6-digit OTPs. - JWT tokens for session management with configurable expiration. - Roles encoded directly in JWT tokens for improved performance (no database lookup required for role checks). - Refresh token support for extended sessions with automatic rotation. - OTP attempt limiting to prevent brute force attacks. - Support for both phone number and email authentication. - Phone number change functionality with OTP verification. - Email service with mock implementation and user email verification. - 📏 Scalable Design : - UUIDs for all IDs to ensure uniqueness and scalability in distributed systems. - Many-to-many user-role relationships via a UserRole table. - Redis for OTP storage with configurable TTL for security and efficiency. - Connection pooling for database operations. - 🎯 KISS Principle : - Minimal dependencies and straightforward codebase. - Centralized configuration management. - Mock SMS service for development (logs OTPs to console). - ✅ Best Practices : - Pydantic for input validation. - SQLMod","default_branch":null,"files":null,"tree":[],"storefront":"/r/javadzarezadeh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/javadzarezadeh/fastforge/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."}