Skip to content

Axum/AWS SES implementation of the "Zero to prod." book.

Notifications You must be signed in to change notification settings

sappChak/newsletter-axum

Repository files navigation

Database setup and migrations:

To initialize PostgreSQL and run migrations

./scripts/init_db.sh

If the elephant is already running

SKIP_DOCKER=true ./scripts/init_db.sh

Run

RUST_LOG=trace cargo watch -x check -x test -x run | bunyan

Test with tracing

TEST_LOG=true cargo test | bunyan

Notes on Email Service Provider

In the book, the author used Postmark as the email API provider. For this project, I've chosen to use Amazon Simple Email Service (Amazon SES) by integrating it with the AWS SDK. After creating an AWS account and setting up the identity (email address) from which emails will be sent, it's important to also create identities for the email addresses to which you will be sending emails. This is necessary because, by default, unpaid AWS accounts are in sandbox mode. In sandbox mode, only verified email addresses can send and receive emails. For more information, check out this Stack Overflow post

About

Axum/AWS SES implementation of the "Zero to prod." book.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published