An open API service indexing awesome lists of open source software.

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

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