{"id":18930656,"url":"https://github.com/tecladocode/flashing-messages-post-app","last_synced_at":"2026-03-19T07:10:48.039Z","repository":{"id":53654585,"uuid":"209497621","full_name":"tecladocode/flashing-messages-post-app","owner":"tecladocode","description":"A Flask application to show how to use message flashing","archived":false,"fork":false,"pushed_at":"2023-02-02T06:40:17.000Z","size":12,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-02T02:13:04.329Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tecladocode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-19T08:06:44.000Z","updated_at":"2022-04-21T20:51:58.000Z","dependencies_parsed_at":"2023-02-17T15:30:27.594Z","dependency_job_id":null,"html_url":"https://github.com/tecladocode/flashing-messages-post-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tecladocode/flashing-messages-post-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecladocode%2Fflashing-messages-post-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecladocode%2Fflashing-messages-post-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecladocode%2Fflashing-messages-post-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecladocode%2Fflashing-messages-post-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tecladocode","download_url":"https://codeload.github.com/tecladocode/flashing-messages-post-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecladocode%2Fflashing-messages-post-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28746808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-08T11:38:26.787Z","updated_at":"2026-01-25T06:38:18.859Z","avatar_url":"https://github.com/tecladocode.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flashing messages\n\nThis short code repository contains a Flask application that uses render_template to show some HTML.\n\nIt is used in our blog post, \"Flashing messages with Flask\". Read that for more info!\n\nIn that blog post, we add some code to the app. You can see the final code by going to the branch `end`.\n\n## Installing\n\nYou'll need `flask` to run this code sample. Install it like so:\n\n```\npipenv install flask\n```\n\n## Running the app\n\nTo run this app, enter the Pipenv shell and run the app via the Flask CLI. Make sure you're in the correct directory first:\n\n```\npipenv run flask run\n```\n\n## The routes\n\nWe have two endpoints in this starter app: `home`, and `profile`.\n\nAt the moment these only return HTML pages (from the `templates` folder). In the blog post we modify one of them to flash a message, as well as the corresponding endpoint to show the flashed messages.\n\n```python\n@app.route(\"/\")\ndef home():\n    return render_template(\"home.jinja2\")\n\n\n@app.route(\"/profile\")\ndef profile():\n    return render_template(\"profile.jinja2\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecladocode%2Fflashing-messages-post-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftecladocode%2Fflashing-messages-post-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecladocode%2Fflashing-messages-post-app/lists"}