Auth-guard is a powerful user authentication service written in Golang. It provides comprehensive functionality for user management, including user authentication 🔓, login 🚪, registration 📝, and user data management 👥. This service is designed with security 🛡️ and efficiency 🚀 in mind.
-
JWT Token Management: Auth-guard uses JSON Web Tokens (JWT) to handle secure user authentication and authorization 🔐.
-
User Authentication: Easily authenticate users with JWT tokens, providing a robust layer of security ✔️.
-
User Login: Users can securely log in with their credentials
▶️ . -
User Registration: New users can register with ease, ensuring a smooth onboarding experience ➕.
-
User Management: Comprehensive user management features allow administrators to maintain user accounts 👥.
-
Rate Limiting: Essential endpoints are equipped with rate limiting using Redis ⏳, ensuring controlled and secure access 🔒.
-
Golang (Go): Auth-guard is written in the Go programming language, known for its performance and efficiency ⚡.
-
PostgreSQL: PostgreSQL is used as the primary database for storing user data and related information 🐘.
-
Chi: The Chi router is used for flexible and efficient request routing 🔀.
-
GORM: GORM, a powerful Go ORM, is employed to manage user data within a database 💾.
-
Argon2: Passwords are securely stored and hashed using the Argon2 key derivation function 🔑.
-
Redis: Redis is used for rate limiting to ensure controlled access to essential endpoints ⏳ and for caching to enhance service performance 📈.
-
Cobra: Cobra is used for building the command-line interface, making it easy to interact with the service 🛠️.
-
Viper: Viper simplifies configuration management, allowing for easy customization of the service ⚙️.
To integrate Auth-guard into your Go projects, follow these steps:
- Clone the Auth-guard repository:
git clone https://github.com/yourusername/auth-guard.git