Skip to content

senaxor/Go-OTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Go-OTP

Go-OTP is a high-performance, containerized One-Time Password (OTP) generator and authentication service written in Go. It provides secure OTP-based verification suitable for modern web and API-based applications.

🚀 Features

  • ✅ OTP generation and verification
  • 🔒 Time-based (TOTP) or random OTP support
  • ⚙️ RESTful API endpoints
  • 🧱 MongoDB for persistent storage
  • 🐳 Docker and Docker Compose ready
  • 🧪 Ready for integration with web or mobile apps

📦 Prerequisites


🛠️ Getting Started

1. Build & Start Containers:

swag init   --dir ./cmd/server,./internal/database,./internal/handlers,./internal/models
docker-compose -f docker-compose.yml build --no-cache
docker-compose up

Swagger

visit http://localhost:8080/swagger/index.html

About

simple otp generator in golang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors