AuthBase – Go + Next.js Template

₹6,599.00

🔐 Fullstack Auth Template – Go + Next.js

Everything you need for secure user authentication, email verification, and session handling — built with Golang (Gin), Next.js, PostgreSQL, and Redis.

✅ What’s Included

  • ✉️ Email verification flow with expirable token links

  • 🔐 JWT-based login, signup, and secure cookie based sessions

  • 🧠 Redis integration for session storage + "logout from all devices"

  • 🗃️ PostgreSQL setup via Docker (persistent and scalable)

  • 🧪 Example .env files for both frontend and backend

  • 🧱 Clean code structure — easy to plug into any architecture

  • 🐳 Dockerized setup — run with one command

🚀 Perfect For

  • Indie hackers who need auth done right (and fast)

  • Founders building MVPs or SaaS products

  • Developers who want to skip boilerplate and focus on features

📦 Tech Stack

  • Backend: Golang + Gin

  • Frontend: Next.js (App Router) + TypeScript

  • Database: PostgreSQL (Docker)

  • Cache: Redis (Docker)

Built for speed, security, and simplicity. No bloat. Just clean, production-ready auth.

Frontend

  • Framework: Next.js 15.3.1 (App Router)

  • Language: TypeScript ^5

  • React: ^19.0.0

  • Styling: Tailwind CSS ^4, clsx, tailwind-merge, tw-animate-css

  • Forms & Validation: React Hook Form ^7.55.0, Zod ^3.24.3, @hookform/resolvers ^5.0.1

  • Date Utils: date-fns ^4.1.0, react-datepicker ^8.3.0, react-day-picker ^9.6.7

  • UI Components: Radix UI (Avatar, Label, Popover, Select, Slot)

  • Icons: Lucide React ^0.501.0

  • Networking: Axios ^1.8.4

  • State/Data Fetching: React Query ^5.74.4

Backend

  • Language: Go 1.24.2

  • Framework: Gin v1.10.0

  • ORM: GORM v1.25.12 with PostgreSQL driver v1.5.11

  • Auth: JWT (github.com/golang-jwt/jwt/v5)

  • Validation: go-playground/validator v10.26.0

  • Env Config: godotenv v1.5.1

  • Email: resend-go v2.17.0

  • UUID: google/uuid v1.6.0

  • Rate Limiting & Session: Redis v9.7.3

Payments are secure and encrypted