Skip to content

OTP-based authentication service in Golang with JWT, rate limiting, and basic user management. Dockerized with REST API

Notifications You must be signed in to change notification settings

mobinadavid/go-auth-otp-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-auth-otp-service

Minimum Required Infrastructure (LOM)

  • 16 GB Memory
  • 8 Core Cpu
  • 64 GB Storage
  • At least one IPv4 pointing to a domain

Deployment Instructions

  • Clone the project from CVS:
    git clone <repo> && cd <app_dir>
  • Copy .env.example to .env And modify it as you wish.
    cp .env.example .env
  • Download and install dependencies
    go mod download
  • Handle the database migrations via:
    ./ database migrate up
  • Handle the database seeders via:
    ./ database seed run
  • Bootstrap the application via:
    ./  app bootstrap

Via Docker:

Docker and docker compose are available as well:

docker compose -f docker-compose.yml up -d

Important:

specifying docker-compose.yml is necessary due to port exposure management.


About

OTP-based authentication service in Golang with JWT, rate limiting, and basic user management. Dockerized with REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published