{"id":20827323,"url":"https://github.com/realpython/flask-registration","last_synced_at":"2025-05-07T21:03:59.462Z","repository":{"id":25089915,"uuid":"28510798","full_name":"realpython/flask-registration","owner":"realpython","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-14T16:38:22.000Z","size":33,"stargazers_count":101,"open_issues_count":2,"forks_count":39,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-07T21:03:54.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://realpython.com/blog/python/handling-email-confirmation-in-flask/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realpython.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-26T12:53:27.000Z","updated_at":"2025-01-16T14:26:59.000Z","dependencies_parsed_at":"2022-08-06T06:16:01.530Z","dependency_job_id":null,"html_url":"https://github.com/realpython/flask-registration","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fflask-registration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fflask-registration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fflask-registration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fflask-registration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realpython","download_url":"https://codeload.github.com/realpython/flask-registration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954409,"owners_count":21830902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T23:11:46.967Z","updated_at":"2025-05-07T21:03:59.441Z","avatar_url":"https://github.com/realpython.png","language":"Python","readme":"# Flask Registration\n\n[![Build Status](https://travis-ci.org/realpython/flask-registration.svg?branch=master)](https://travis-ci.org/realpython/flask-registration)\n\nStarter app for managing users - login/logout, registration, and email confirmation.\n\n**Blog posts:**\n\n- Part 1: [Handling Email Confirmation During Registration in Flask](https://realpython.com/blog/python/handling-email-confirmation-in-flask)\n- Part 2: [The Minimum Viable Test Suite](https://realpython.com/blog/python/the-minimum-viable-test-suite/)\n\n## QuickStart\n\n### Set Environment Variables\n\nDevelopment Example (with [Debug Mail](https://debugmail.io)):\n\n```sh\n$ export APP_SETTINGS=\"project.config.DevelopmentConfig\"\n$ export APP_MAIL_SERVER=debugmail.io\n$ export APP_MAIL_PORT=25\n$ export APP_MAIL_USE_TLS=true\n$ export APP_MAIL_USE_SSL=false\n$ export APP_MAIL_USERNAME=ADDYOUROWN\n$ export APP_MAIL_PASSWORD=ADDYOUROWN\n```\n\nProduction Example:\n\n```sh\n$ export APP_SETTINGS=\"project.config.ProductionConfig\"\n$ export APP_MAIL_SERVER=ADDYOUROWN\n$ export APP_MAIL_PORT=ADDYOUROWN\n$ export APP_MAIL_USE_TLS=ADDYOUROWN\n$ export APP_MAIL_USE_SSL=ADDYOUROWN\n$ export APP_MAIL_USERNAME=ADDYOUROWN\n$ export APP_MAIL_PASSWORD=ADDYOUROWN\n```\n\n### Update Settings in Production\n\n1. `SECRET_KEY`\n1. `SQLALCHEMY_DATABASE_URI`\n\n### Create DB\n\nRun:\n\n```sh\n$ sh create.sh\n```\n\nOr:\n\n```sh\n$ python manage.py create_db\n$ python manage.py db init\n$ python manage.py db migrate\n$ python manage.py create_admin\n```\n\nWant to clean the environment? Run:\n\n```sh\nsh clean.sh\n```\n\n### Run\n\n```sh\n$ python manage.py runserver\n```\n\n### Testing\n\nWithout coverage:\n\n```sh\n$ python manage.py test\n```\n\nWith coverage:\n\n```sh\n$ python manage.py cov\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fflask-registration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealpython%2Fflask-registration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fflask-registration/lists"}