{"id":16544713,"url":"https://github.com/mahajanankur/flask-template","last_synced_at":"2026-06-06T12:31:05.752Z","repository":{"id":187416854,"uuid":"606078503","full_name":"mahajanankur/flask-template","owner":"mahajanankur","description":"A template for creating a Python Flask REST web service, suitable for both novice and experienced programmers.","archived":false,"fork":false,"pushed_at":"2023-03-16T10:08:27.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T07:15:38.482Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mahajanankur.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-02-24T14:51:31.000Z","updated_at":"2023-02-24T18:21:40.000Z","dependencies_parsed_at":"2023-08-10T09:08:46.513Z","dependency_job_id":"82763d8d-984b-43e0-b122-1df5c38e914c","html_url":"https://github.com/mahajanankur/flask-template","commit_stats":null,"previous_names":["mahajanankur/flask-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mahajanankur/flask-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahajanankur%2Fflask-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahajanankur%2Fflask-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahajanankur%2Fflask-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahajanankur%2Fflask-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahajanankur","download_url":"https://codeload.github.com/mahajanankur/flask-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahajanankur%2Fflask-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33983046,"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-06T02:00:07.033Z","response_time":107,"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-10-11T19:04:21.631Z","updated_at":"2026-06-06T12:31:05.730Z","avatar_url":"https://github.com/mahajanankur.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Flask REST Web Service Template\n\nThis repository provides a template for creating a Python Flask REST web service. It is designed to be suitable for both novice and experienced programmers.\n\n## Getting Started\nClone the repository onto your local machine.\n```bash\ngit clone https://github.com/mahajanankur/flask-template.git\n```\n### Install the necessary dependencies.\n```bash\npip install -r requirements.txt\n```\n### Run the Flask web service by Python3.\n```bash\npython3 src/app.py\n```\n### Run the Flask web service by Docker.\nThis will run a production level **[Gunicorn](https://gunicorn.org/#quickstart)** server.\n```bash\ndocker-compose up --build\n```\n## Usage\nTo use the web service, send HTTP requests to the appropriate endpoint using a tool such as cURL or Postman. The endpoints that are currently available are:\n\n**/health** - Health check of the service.\n\n**/api/products** - Returns a JSON array of all the products.\n\n## Contributing\nIf you find a bug or would like to suggest an improvement, please open an issue or create a pull request. All contributions are welcome!\n\n---\nLicense\n----\n**Apache 2.0**\n\n**Free Software, Hell Yeah!**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahajanankur%2Fflask-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahajanankur%2Fflask-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahajanankur%2Fflask-template/lists"}