Add a persistent web server allowing customers to login and view their transactions and invoices.
Prevent scope creep - implement phase 1-2 before adding features.
Commit: 4 commits on branch issue-5
issue-5
23763eb
bf31098
a175116
0d22d75
Files changed:
Cargo.toml
src/server/main.rs
src/db/models.rs
src/db/repository.rs
migrations/003_add_password.sql
tests/server_test.rs
No dependencies set.
The note is not visible to the blocked user.
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