actix-login-demo
A learning project to use Rust/Actix/Diesel/Yew to build a simple user registration/login web app.
Play
cargo make
cargo run -p backend
cargo +nightly install miniserve
miniserve ./frontend/static -p 8081 --index index.html
docker-compose up
docker-compose up --build
Backend Features
- Users API CRD
- Server side input validation
- Enable https
- Password hashing
- Middleware to guard OWASP top vulnerabilites
- Login through 3rd party OAuth provider, e.g. github
- Serving static file generated by Yew
- Dockerfile
Frontend Features
- Registration Page
- Login Page
- Hello Page with need Authentication