chore: add project scaffold

This commit is contained in:
2026-07-14 09:32:38 +03:30
commit b33716863b
9 changed files with 294 additions and 0 deletions

19
.env.example Normal file
View File

@@ -0,0 +1,19 @@
APP_ENV=local
MONGO_URI=mongodb://localhost:27017
MONGO_DB_NAME=gapido_auth
REDIS_URL=redis://localhost:6379/0
RABBITMQ_URL=amqp://guest:guest@localhost:5672/
JWT_SECRET_KEY=change-me-use-a-long-random-secret
JWT_ISSUER=gapido-auth
ACCESS_TOKEN_TTL_SECONDS=900
REFRESH_TOKEN_TTL_SECONDS=604800
OTP_TTL_SECONDS=120
OTP_MAX_ATTEMPTS=5
OTP_REQUEST_LIMIT=3
OTP_REQUEST_WINDOW_SECONDS=300
KAVENEGAR_API_KEY=replace-with-real-key
KAVENEGAR_LOGIN_TEMPLATE=login-otp
ADMIN_MOBILE=989120000000
GRPC_HOST=0.0.0.0
GRPC_PORT=50051