{"id":28561921,"url":"https://github.com/helloflask/flask-examples","last_synced_at":"2025-06-10T11:40:26.084Z","repository":{"id":40443924,"uuid":"198446235","full_name":"helloflask/flask-examples","owner":"helloflask","description":"Example applications for Flask learners.","archived":false,"fork":false,"pushed_at":"2024-07-26T00:40:18.000Z","size":1898,"stargazers_count":215,"open_issues_count":7,"forks_count":141,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-04T03:41:28.949Z","etag":null,"topics":["examples","flask","python","tutorial","web"],"latest_commit_sha":null,"homepage":"http://helloflask.com/en/","language":"JavaScript","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/helloflask.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-07-23T14:22:10.000Z","updated_at":"2025-05-18T00:09:32.000Z","dependencies_parsed_at":"2024-01-23T17:13:18.254Z","dependency_job_id":"92fd9a4b-fec1-4e67-a619-333ed192a6a0","html_url":"https://github.com/helloflask/flask-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloflask%2Fflask-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloflask%2Fflask-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloflask%2Fflask-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloflask%2Fflask-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloflask","download_url":"https://codeload.github.com/helloflask/flask-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloflask%2Fflask-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259069815,"owners_count":22800771,"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":["examples","flask","python","tutorial","web"],"created_at":"2025-06-10T11:40:24.595Z","updated_at":"2025-06-10T11:40:26.077Z","avatar_url":"https://github.com/helloflask.png","language":"JavaScript","readme":"# Flask Examples\n\nExample applications for Flask beginners.\n\n## Installation\n\nFirst, you need to clone this repository:\n\n```bash\ngit clone git@github.com:greyli/flask-examples.git\n```\n\nOr:\n\n```bash\ngit clone https://github.com/helloflask/flask-examples.git\n```\n\nThen change into the `flask-examples` folder:\n\n```bash\ncd flask-examples\n```\n\nNow, we will need to create a virtual environment and install all the dependencies:\n\n```bash\npython3 -m venv venv  # on Windows, use \"python -m venv venv\" instead\n. venv/bin/activate   # on Windows, use \"venv\\Scripts\\activate\" instead\npip install -r requirements.txt\n```\n\n## How to Run a Specific Example Application?\n\n**Before run a specific example application, make sure you have activated the virtual enviroment.**\n\nFor example, if you want to run the Hello application, just execute these commands:\n\n```bash\ncd hello\nflask run\n```\n\nSimilarly, you can run HTTP application like this:\n\n```bash\ncd http\nflask run\n```\n\nThe applications will always running on http://localhost:5000.\n\n## Example Applications Menu\n\n- Hello (`/hello`): Say hello with Flask.\n- HTTP (`/http`): HTTP handing in Flask.\n- Templates (`/templates`): Templating with Flask and Jinja2.\n- Form (`/form`): Form handing with Flask-WTF (WTForms), File upload and integrating with Flask-CKEditor, Flask-Dropzone.\n- Database (`/database`): Database with Flask-SQLAlchemy (SQLAlchemy).\n- Email (`/email`): Email with Flask-Mail, SendGrid\n- Assets (`/assets`): Assets profiling with Flask-Assets.\n- Cache (`/cache`): Cache with Flask-Caching.\n\n## Advanced Examples Flask Applications\n\n- [SayHello](https://github.com/greyli/sayhello): A simple message board.\n- [Bluelog](https://github.com/greyli/bluelog): A blog engine that supports category and resource management.\n- [Albumy](https://github.com/greyli/albumy): A full-featured photo-sharing social networking.\n- [Todoism](https://github.com/greyli/todoism): A to-do application implements as SPA, it supports i18n and provides web APIs.\n- [CatChat](https://github.com/greyli/catchat): A chat room based on WebSocket.\n\n## Contributions\n\nAny contribution is welcome, just fork and submit your PR.\n\n## License\n\nThis project is licensed under the MIT License (see the `LICENSE` file for details).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloflask%2Fflask-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloflask%2Fflask-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloflask%2Fflask-examples/lists"}