{"id":18011362,"url":"https://github.com/mhmzdev/flask-restful-crud-api","last_synced_at":"2026-02-15T10:14:27.357Z","repository":{"id":109325544,"uuid":"556155236","full_name":"mhmzdev/flask-restful-CRUD-API","owner":"mhmzdev","description":"A very simple API of TODO app for handling CRUD operation (TESTING ONLY)","archived":false,"fork":false,"pushed_at":"2022-10-23T09:56:56.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T02:03:11.062Z","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/mhmzdev.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":"2022-10-23T07:16:46.000Z","updated_at":"2022-10-26T16:26:54.000Z","dependencies_parsed_at":"2023-07-26T22:15:20.339Z","dependency_job_id":null,"html_url":"https://github.com/mhmzdev/flask-restful-CRUD-API","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/mhmzdev%2Fflask-restful-CRUD-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmzdev%2Fflask-restful-CRUD-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmzdev%2Fflask-restful-CRUD-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmzdev%2Fflask-restful-CRUD-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhmzdev","download_url":"https://codeload.github.com/mhmzdev/flask-restful-CRUD-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245681593,"owners_count":20655226,"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-30T03:09:46.791Z","updated_at":"2026-02-15T10:14:27.326Z","avatar_url":"https://github.com/mhmzdev.png","language":"Python","readme":"## flask-restful CRUD API\nA very simple example of TODO App CRUD operations via REST API in flask-restful that could be used for testing purposes.\n\n### Running locally\n```\ngit clone https://github.com/mhmzdev/flask-restful-CRUD\ncd flask-restful_CRUD\npip install -r requirements.txt\npython app.py\n```\n\nOpen http://localhost:8080/tasks at your browser to see if you are getting all tasks\n\n### Deployed\nIt's deployed on Heroku at https://flask-restful-tasks.herokuapp.com/tasks\n\n\n### Available methods\nBelow is the end-point that remains the same for all the methods to keep things simple.\n\nLocal Endpoint: http://localhost:8080/tasks\n\nDeployed Endpoint: https://flask-restful-tasks.herokuapp.com/tasks\n\n### ⬇️ GET\n\nSimply make a REQUST at the end-point given\n\nResponse:\n```\n{\n    \"status\": \"success\",\n    \"tasks\": [\n        {\n            \"id\": 0,\n            \"title\": \"Home related\",\n            \"description\": \"Some description here.\",\n            \"isCompleted\": false\n        },\n        {\n            \"id\": 1,\n            \"title\": \"Python Coding task\",\n            \"description\": \"Develop a REST API\",\n            \"isCompleted\": false\n        },\n        {\n            \"id\": 2,\n            \"title\": \"Others\",\n            \"description\": \"Make some notes from the Podcast\",\n            \"isCompleted\": false\n        }\n    ]\n}\n```\n\nTo get a specific task, send payload as following to GET method\n```\n{\n    \"id\": 0\n}\n```\nResponse:\n```\n{\n    \"status\": \"success\",\n    \"task\": {\n        \"id\": 0,\n        \"title\": \"Home related\",\n        \"description\": \"Some description here.\",\n        \"isCompleted\": false\n    }\n}\n```\n\n### ⬆️ POST\n\nRequest payload:\n```\n{   \n    \"title\": \"Some title\",\n    \"description\": \"Some description\"\n}\n```\n\nResponse:\n```\n{\n    'status': 'success',\n    'message': 'Task has been added successfully!',\n}\n```\n\n### 🔄 PUT\nRequest payload:\n```\n{\n    \"id\": 0,\n    \"title\": \"Some new title\",\n    \"description\": \"Some new description\",\n    \"isCompleted: true,\n}\n```\n\nResponse:\n```\n{\n    'status': 'success',\n    'message': 'Task has been updated successfully!',\n}\n```\n\n### ❌ DELETE\nRequest payload:\n```\n{\n    \"id\": 0\n}\n```\n\nResponse:\n```\n{\n    'status': 'success',\n    'message': 'Task has been deleted successfully!',\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhmzdev%2Fflask-restful-crud-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhmzdev%2Fflask-restful-crud-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhmzdev%2Fflask-restful-crud-api/lists"}