diff --git a/README.md b/README.md index f36d759..0e778ef 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,10 @@ sudo apt install pkg-config sudo apt install libssl-dev cargo install sqlx-cli --no-default-features --features rustls,postgres ``` + +## TODO + +- Register form on homepage +- Success message displayed to new subscriber who confirmed his account +- Worker to remove idempotency key from database +- List of subscribers (confirmed and unconfirmed) on admin dashboard diff --git a/src/routes.rs b/src/routes.rs index 772876f..71206e1 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -2,6 +2,7 @@ mod admin; mod health_check; mod home; mod login; +mod register; mod subscriptions; mod subscriptions_confirm; @@ -9,5 +10,6 @@ pub use admin::*; pub use health_check::*; pub use home::*; pub use login::*; +pub use register::*; pub use subscriptions::*; pub use subscriptions_confirm::*; diff --git a/src/routes/home/home.html b/src/routes/home/home.html index cab76b9..bc14f35 100644 --- a/src/routes/home/home.html +++ b/src/routes/home/home.html @@ -7,6 +7,9 @@
Welcome to our newsletter!
- +