testdrivenio / flask-ses-rq

Send confirmation emails to newly registered users with Flask, Redis Queue, and Amazon SES

Home Page:https://testdriven.io/blog/sending-confirmation-emails-with-flask-rq-and-ses/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sending confirmation Emails with Flask, Redis Queue, and Amazon SES

Send confirmation emails to newly registered users with Flask, Redis Queue, and Amazon SES

Want to learn how to build this?

Check out the article.

Want to use this project?

  1. Fork/Clone

  2. Sign up for AWS (if necessary), verify an email for SES, and update the following environment variables for the worker service in docker-compose.yml:

    - SES_REGION=us-east-2
    - SES_EMAIL_SOURCE=your_email
    - AWS_ACCESS_KEY_ID=your_access_key_id
    - AWS_SECRET_ACCESS_KEY=your_secret_access_key
  3. Spin up the containers and update the database:

    $ docker compose up -d --build
    $ docker compose run users python manage.py create_db
  4. Open your browser to http://localhost:5003 to view the app.

About

Send confirmation emails to newly registered users with Flask, Redis Queue, and Amazon SES

https://testdriven.io/blog/sending-confirmation-emails-with-flask-rq-and-ses/

License:MIT License


Languages

Language:Python 80.7%Language:HTML 15.3%Language:Dockerfile 2.1%Language:CSS 1.3%Language:JavaScript 0.5%