https://github.com/morriskm/actix-auth
Actix-Web | API | Session Auth | Login | Register | Logout | Protected Route | Sqlite | Rust | Redis
https://github.com/morriskm/actix-auth
actix-web argon2 cookies middleware redis serde session-cookie sqlite sqlx
Last synced: 3 months ago
JSON representation
Actix-Web | API | Session Auth | Login | Register | Logout | Protected Route | Sqlite | Rust | Redis
- Host: GitHub
- URL: https://github.com/morriskm/actix-auth
- Owner: MorrisKM
- Created: 2025-10-03T08:01:44.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-04T08:51:38.000Z (9 months ago)
- Last Synced: 2025-10-04T10:26:00.993Z (9 months ago)
- Topics: actix-web, argon2, cookies, middleware, redis, serde, session-cookie, sqlite, sqlx
- Language: Rust
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Actix-Web Authentication System
A robust authentication system built with Actix-Web featuring session management, user registration, login/logout functionality, and protected routes.
## 🚀 Features
User Registration - Secure account creation with password hashing
User Login - Session-based authentication with secure cookies
User Logout - Proper session cleanup and invalidation
Protected Routes - Middleware-based route protection
Password Security - Argon2 password hashing algorithm
Session Management - Redis-backed session storage
SQLite Database - Lightweight data persistence with SQLx
Type Safety - Leveraging Rust's type system with Serde
## 📋 Prerequisites
Rust (1.70 or higher recommended)
SQLite3
Redis server
## 🛠️ Technologies
Actix-Web - High-performance web framework
SQLx - Async SQL toolkit with compile-time query verification
Redis - Session storage backend
Argon2 - Password hashing
Serde - Serialization/deserialization framework
## 🤝 Contributing
Fork the repository
Create a feature branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add some amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request
## 📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
## 📞 Support
For issues and questions:
Open an issue on GitHub
Check existing documentation
Review closed issues for solutions
## 🔄 Roadmap
Email verification
Password reset functionality
OAuth2 integration
Rate limiting
API documentation with Swagger/OpenAPI
Docker containerization
CI/CD pipeline