{"id":50864280,"url":"https://github.com/gsaini/python-flask-getting-started","last_synced_at":"2026-06-14T23:34:33.589Z","repository":{"id":286487375,"uuid":"961512612","full_name":"gsaini/python-flask-getting-started","owner":"gsaini","description":"Flask is a lightweight, flexible, and popular Python microframework for building web applications, known for its simplicity and ease of use, allowing developers to focus on application logic rather than infrastructure. ","archived":false,"fork":false,"pushed_at":"2025-04-24T00:20:49.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-14T23:34:32.132Z","etag":null,"topics":["browser-web-api","flask","html5","javascript","postgresql","python","server-sent-events"],"latest_commit_sha":null,"homepage":"","language":"Python","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/gsaini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-06T17:12:45.000Z","updated_at":"2025-04-24T00:20:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"db715a00-45f8-4c9f-9679-f4e4f426a904","html_url":"https://github.com/gsaini/python-flask-getting-started","commit_stats":null,"previous_names":["gsaini/python-flask-getting-started"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gsaini/python-flask-getting-started","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsaini%2Fpython-flask-getting-started","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsaini%2Fpython-flask-getting-started/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsaini%2Fpython-flask-getting-started/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsaini%2Fpython-flask-getting-started/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsaini","download_url":"https://codeload.github.com/gsaini/python-flask-getting-started/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsaini%2Fpython-flask-getting-started/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34342089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":["browser-web-api","flask","html5","javascript","postgresql","python","server-sent-events"],"created_at":"2026-06-14T23:34:32.457Z","updated_at":"2026-06-14T23:34:33.567Z","avatar_url":"https://github.com/gsaini.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-flask-getting-started\n[![codecov](https://codecov.io/gh/gsaini/python-flask-getting-started/graph/badge.svg?token=VGBPGOC9JE)](https://codecov.io/gh/gsaini/python-flask-getting-started)\n\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54)\n![Flask](https://img.shields.io/badge/flask-%23000.svg?style=for-the-badge\u0026logo=flask\u0026logoColor=white)\n![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge\u0026logo=html5\u0026logoColor=white)\n![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge\u0026logo=javascript\u0026logoColor=%23F7DF1E)\n![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge\u0026logo=githubactions\u0026logoColor=white)\n![CodeCov](https://img.shields.io/badge/codecov-%23ff0077.svg?style=for-the-badge\u0026logo=codecov\u0026logoColor=white)\n\n[Flask](https://flask.palletsprojects.com/en/stable/) is a lightweight, flexible, and popular Python microframework for building web applications, known for its simplicity and ease of use, allowing developers to focus on application logic rather than infrastructure. \n\n\n## PostgreSQL: The World's Most Advanced Open Source Relational Database\nPostgreSQL is a powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.\n\n\n## Server-Sent Events (SSE)\n\nServer-Sent Events (SSE) provide a simple way to push updates from a server to a browser (client) over HTTP. SSE is unidirectional, meaning data flows only from the server to the client, and it is natively supported in browsers via the `EventSource` API.\n\n### Use Cases for SSE\nSSE is ideal for scenarios such as:\n- Live notifications\n- Stock price updates\n- News feeds\n- Chat messages (read-only streams)\n\n### 📦 Key Characteristics of SSE\n\n| **Feature**         | **Description**                     |\n|----------------------|-------------------------------------|\n| **Protocol**         | HTTP (not WebSocket)               |\n| **Direction**        | Server → Client                    |\n| **Reconnect Support**| Built-in automatic reconnects      |\n| **Format**           | Text-based (`text/event-stream`)   |\n| **Browser API**      | `EventSource`                      |\n\n## Generate a Self-Signed SSL Certificate\nRun the following in terminal (Python must be installed):\n\n```\nopenssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes\n```\n\n\n## How to Run\nRun the Flask server:\n\n```\npython server.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsaini%2Fpython-flask-getting-started","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsaini%2Fpython-flask-getting-started","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsaini%2Fpython-flask-getting-started/lists"}