{"id":18450152,"url":"https://github.com/devilrancy/flask_user","last_synced_at":"2025-10-19T11:57:28.278Z","repository":{"id":68643081,"uuid":"81459729","full_name":"devilrancy/flask_user","owner":"devilrancy","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-09T14:43:29.000Z","size":265,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T11:41:33.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devilrancy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-09T14:41:03.000Z","updated_at":"2017-02-09T14:41:16.000Z","dependencies_parsed_at":"2023-02-26T22:15:49.918Z","dependency_job_id":null,"html_url":"https://github.com/devilrancy/flask_user","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devilrancy/flask_user","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devilrancy%2Fflask_user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devilrancy%2Fflask_user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devilrancy%2Fflask_user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devilrancy%2Fflask_user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devilrancy","download_url":"https://codeload.github.com/devilrancy/flask_user/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devilrancy%2Fflask_user/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279803280,"owners_count":26229304,"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","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-06T07:23:38.957Z","updated_at":"2025-10-19T11:57:28.261Z","avatar_url":"https://github.com/devilrancy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask-User starter app\n\nThis code base serves as a great starting point to write your next Flask application  \n(With or without Flask-User)\n\n## Developer benefits\n* Tested on Python 2.7, 3.3, and 3.4\n* Well organized directories with lots of comments\n  * app/models\n  * app/startup\n  * app/views\n* HTML5 BoilerPlate / jQuery / Bootstrap layout template\n* Few dependencies (Flask-SQLAlchemy, Flask-WTF, Flask-User, Flask-Migrate)\n* Includes Flask-User user management\n  * Register, Confirm email, Login, Logout\n  * Change username/email/password, Forgot password\n* SMTPHandler for error-level log messages -- sends emails on unhandled exceptions\n* Includes `py.test` test framework\n* Includes `alembic` database migration framework\n\n\n## Cloning the code base\nWe assume that you have `git` and `virtualenvwrapper` installed.\n\n    # Clone the code repository into ~/dev/my_app\n    mkdir -p ~/dev\n    cd ~/dev\n    git clone https://github.com/lingthio/Flask-User-starter-app.git my_app\n\n    # Create the 'my_app' virtual environment\n    mkvirtualenv -p PATH/TO/PYTHON my_app\n\n    # Install required Python packages\n    cd ~/dev/my_app\n    workon my_app\n    pip install -r requirements.txt\n    \n    \n## Configuring the app\n\nBefore we can use this application, we will have to configure the database URL and SMTP account\nthat will be used to access the database and to send emails.\n\nSettings common to all environments are found in `app/settings.py`. DO NOT store any security\nsettings in this file as it's going to be checked into the code repository.\n\nEnvironment specific settings are stored in `app/local_settings.py` that is NOT stored in the code repository.\nThe example `app/local_settings_example.py` can be used as a starting point::\n\n    cd ~/dev/my_app\n    cp app/local_settings_example.py app/local_settings.py\n\nConfigure `app/local_settings.py`.\n\n## Configuring the SMTP server\n\nEdit ~/dev/my_app/app/env_settings.py.\n\nMake sure to configure all the MAIL_... settings correctly.\n\nNote: For smtp.gmail.com to work, you MUST set \"Allow less secure apps\" to ON in Google Accounts.\nChange it in https://myaccount.google.com/security#connectedapps (near the bottom).\n\n## Initializing the Database\n\n    # Create DB tables and populate the roles and users tables\n    python manage.py init_db\n\n\n## Running the app\n\n    # Start the Flask development web server\n    python manage.py runserver\n\nPoint your web browser to http://localhost:5000/\n\nYou can make use of the following users:\n- email `user@example.com` with password `Password1`.\n- email `admin@example.com` with password `Password1`.\n\n\n## Testing the app\n\n    # Run all the automated tests in the tests/ directory\n    ./runtests.sh         # will run \"py.test -s tests/\"\n\n\n## Generating a test coverage report\n\n    # Run tests and show a test coverage report\n    ./runcoverage.sh      # will run py.test with coverage options\n\n## Database migrations\n\n    # Show all DB migration commands\n    python manage.py db\n\nSee [the Alembic docs](alembic.readthedocs.org) for more information.\n\n\n## Trouble shooting\nIf you make changes in the Models and run into DB schema issues, delete the sqlite DB file `app/app.sqlite`.\n\n\n## Acknowledgements\nWith thanks to the following Flask extensions:\n\n* [Alembic](alembic.readthedocs.org)\n* [Flask-Migrate](flask-migrate.readthedocs.org)\n* [Flask-User](pythonhosted.org/Flask-User/)\n\n[Flask-User-starter-app](https://github.com/lingthio/Flask-User-starter-app) was used as a starting point for this code repository.\n\n    # Please consider leaving the line above in your project's README file. Thank you.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevilrancy%2Fflask_user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevilrancy%2Fflask_user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevilrancy%2Fflask_user/lists"}