FastAPI REST Starter Template
Skip 6+ hours of boilerplate. Launch a secure, documented API in under 30 minutes.Production-ready FastAPI boilerplate with JWT authentication, auto-generated docs, rate limiting, and a full test suite. Just clone, configure, and deploy.─────────────────────────────────📦 WHAT'S INCLUDED✅ JWT AuthenticationRegister, login, and /me endpoints out of the box. Passwords hashed with bcrypt. Tokens expire automatically.✅ SQLite + PostgreSQL readyWorks with SQLite by default. Switch to PostgreSQL by changing one line in your .env file.✅ Auto Swagger UI & ReDocYour API docs are generated automatically at /docs and /redoc. No extra setup needed.✅ Rate limiting middlewareProtects your API from abuse with slowapi. Configurable per endpoint.✅ Pytest suite — 10/10 tests passingFull test coverage for auth and CRUD endpoints. Run with: python -m pytest tests/ -v✅ Docker-readyDockerfile and .env.example included. Deploy anywhere in minutes.✅ Clean folder structureOrganized by feature — api, core, models. Easy to extend and maintain.─────────────────────────────────💡 WHO IS THIS FOR?→ Developers who are tired of setting up auth from scratch on every project→ Freelancers who need a solid API base for client work→ Indie hackers who want to ship faster─────────────────────────────────📦 WHAT YOU GET- Full FastAPI project — clean folder structure, ready to deploy- JWT auth endpoints — register, login, /me, CRUD users- Pytest suite — 10 tests covering auth and users- Dockerfile + .env.example- README with local development instructions- DEPLOY.md — step-by-step guide for Railway, Render, and Docker─────────────────────────────────❓ FAQQ: What Python version do I need?A: Python 3.9 or higher. Tested on Python 3.14.Q: I get a bcrypt error. What do I do?A: Run: python -m pip install bcrypt==4.0.1 — fixes a known compatibility issue with Python 3.14.Q: Can I use this in commercial projects?A: Personal and commercial use allowed. You may NOT resell, redistribute, or share this product with others.Q: Do I need to know FastAPI to use this?A: Basic Python knowledge is enough. The code is fully commented and the README explains every step.─────────────────────────────────Also available: Dev Productivity Bundle — get this template + Python Scripts + Notion Dashboard for $79 (save $18).thetemplateshaven.gumroad.com/l/DevProductivityBundle
Get it → thetemplateshaven.gumroad.com