Customer Web Portal - Transaction & Invoice Viewer #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add a persistent web server allowing customers to login and view their transactions and invoices.
Requirements
Features
Phase 1 - Minimal Viable
Phase 2 - Core Features
Phase 3 - Future
Technical Notes
Priority
Prevent scope creep - implement phase 1-2 before adding features.
Implementation (Phase 1 complete)
Commit: 4 commits on branch
issue-523763eb- Basic Axum server with hello endpointbf31098- Login pagea175116- Login POST with DB auth0d22d75- Session managementFiles changed:
Cargo.toml- Added axum, tower, cookie, uuid depssrc/server/main.rs- Web server binarysrc/db/models.rs- Added password_hash fieldsrc/db/repository.rs- Updated query for password_hashmigrations/003_add_password.sql- Schema migrationtests/server_test.rs- Tests for endpoints