{"id":17810756,"url":"https://github.com/favourdaniel/sample-flask-app","last_synced_at":"2025-07-03T18:09:15.110Z","repository":{"id":209757862,"uuid":"724880773","full_name":"FavourDaniel/Sample-Flask-App","owner":"FavourDaniel","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-10T11:33:33.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T06:43:59.203Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FavourDaniel.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}},"created_at":"2023-11-29T01:24:05.000Z","updated_at":"2024-09-10T11:33:36.000Z","dependencies_parsed_at":"2023-12-01T16:26:54.961Z","dependency_job_id":"770d9002-9aed-48a8-81e0-1c9954ed2364","html_url":"https://github.com/FavourDaniel/Sample-Flask-App","commit_stats":null,"previous_names":["favourdaniel/sample-flask-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FavourDaniel/Sample-Flask-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FavourDaniel%2FSample-Flask-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FavourDaniel%2FSample-Flask-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FavourDaniel%2FSample-Flask-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FavourDaniel%2FSample-Flask-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FavourDaniel","download_url":"https://codeload.github.com/FavourDaniel/Sample-Flask-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FavourDaniel%2FSample-Flask-App/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263376108,"owners_count":23457331,"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-10-27T15:40:15.741Z","updated_at":"2025-07-03T18:09:15.086Z","avatar_url":"https://github.com/FavourDaniel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample-Flask-App\nTo run the app, you need to have Python and pip installed on your machine, then install the required dependencies.\n\n## Steps to run Flask app\n1. Install and activate your virtual environment (if not already activated)\n```\npython3 -m venv .venv\nsource .venv/bin/activate\n```\n2. Install required packages\n```\npip install -r requirements.txt\n```\n3. Start the flask application\n```\npython3 app.py\n```\nThe different endpoints for the application are `127.0.0.1:5000/one`, `127.0.0.1:5000/two`, `127.0.0.1:5000/three`, `127.0.0.1:5000/four` and `127.0.0.1:5000/error`.\n\n4. In a new terminal, activate the virtual environment and start the generator\n```\npython3 app-generator.py\n```\nIt will be used in generating requests for the Flask application at the different endpoints.\n\n5. Send the metrics to a monitoring tool for visualization. You can do this with OpenTelemetry and SigNoz, read the article here.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffavourdaniel%2Fsample-flask-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffavourdaniel%2Fsample-flask-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffavourdaniel%2Fsample-flask-app/lists"}