Skip to content

ShihabYasin/simple-flask-app-with-amazon-ses-rq

Repository files navigation

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

Usage:

  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

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

Topics

Resources

License

Stars

Watchers

Forks