Commit Graph

10 Commits

Author SHA1 Message Date
Nick Bland
ee6e255b2e
Validation for user's name and email
Email validation is still primitive but checks if the email could theoretically exist (name@domain.com). Separation of Subscriber type into a module as well as actions that cane be performed on it. Updates to the subscribe functionality to align with new test cases that have been made.
2022-01-12 17:51:55 +10:00
Nick Bland
fcf0bea45f
Update to Rust 2021
Also update dependencies and codebase to reflect 2021 standards and changes (tokio tests, etc)
2022-01-03 18:13:39 +10:00
Nick Bland
bfcaa6f487
Digital Ocean Deployment 2022-01-03 17:11:11 +10:00
Nick Bland
1f06f5e66f
Changes to allow more dynamic logging
Logs in much greater detail using the tracing packages and formatted using Bunyan. Advised to install bunyan on machine for more pretty logs over raw json.
2021-11-16 13:50:32 +10:00
Nick Bland
a746b45f78
Implement changes to allow database connection for insertions
Also updated tests to reflect the new PgPool format being used. Tests now create a mock database on creation to determine if it works before removing it. Up to Chapter 4.
2021-11-08 15:41:52 +10:00
Nick Bland
6db0a7bc86
implement test changes regarding database
also added .env for database connection details (used by sqlx)
2021-11-07 00:23:49 +10:00
Nick Bland
782796486e
Seperate into multiple files. Add configuration options 2021-11-07 00:08:33 +10:00
Nick Bland
33c5cf0adc
Update gitignore 2021-11-05 14:17:36 +10:00
Nick Bland
78311c8cb3
Add in framework for post requests for user subscriptions
Complete up to page 45
2021-11-04 15:09:22 +10:00
Nick Bland
0466015771
initial commit 2021-10-22 12:38:38 +10:00