{"id":24307990,"url":"https://github.com/caresle-archive/flask-mongo","last_synced_at":"2026-04-10T02:07:00.483Z","repository":{"id":159599704,"uuid":"421535950","full_name":"Caresle-Archive/flask-mongo","owner":"Caresle-Archive","description":"An api using flask + mongo","archived":false,"fork":false,"pushed_at":"2021-10-26T20:55:16.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T04:35:03.952Z","etag":null,"topics":["flask","mongodb","python"],"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/Caresle-Archive.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":"2021-10-26T18:14:07.000Z","updated_at":"2024-02-19T03:20:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"823f6f0e-41b0-465d-88cb-5ccccac14346","html_url":"https://github.com/Caresle-Archive/flask-mongo","commit_stats":null,"previous_names":["caresle-archive/flask-mongo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caresle-Archive%2Fflask-mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caresle-Archive%2Fflask-mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caresle-Archive%2Fflask-mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Caresle-Archive%2Fflask-mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Caresle-Archive","download_url":"https://codeload.github.com/Caresle-Archive/flask-mongo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242272698,"owners_count":20100697,"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":["flask","mongodb","python"],"created_at":"2025-01-17T04:33:54.239Z","updated_at":"2025-12-31T00:51:02.061Z","avatar_url":"https://github.com/Caresle-Archive.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Mongo\r\n\r\nA flask + mongodb api.\r\n\r\n## How to run\r\n- The project suppose to use a local version of mongodb\r\n\r\n\r\n1. Create a virtual env\r\n```bash\r\n# Windows\r\npython -m venv venv\r\n```\r\n\r\n2. Activate the virtual env\r\n```\r\n# Windows\r\nvenv\\Scripts\\activate\r\n```\r\n\r\n3. Install flask\r\n```\r\npip install Flask\r\n```\r\n\r\n4. Run mongodb in another terminal\r\n```\r\nmongod\r\n```\r\n\r\n5. Execute flask\r\n```\r\nflask run\r\n```\r\n\r\n## Endpoints\r\n\r\nGET `/games`\r\n\r\nShow the list of all the games\r\n\r\nPOST `/games`\r\n\r\nCreate a new game like the example below\r\n\r\n```json\r\n{\r\n\t\"name\": \"game name\"\r\n}\r\n```\r\n\r\nPUT `/games/:id`\r\n\r\nUpdate the name of the game. Example below:\r\n\r\n```json\r\n{\r\n\t\"name\": \"New game name\"\r\n}\r\n```\r\n\r\n\r\nDELETE `/games/:id`\r\n\r\nDelete the given element","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaresle-archive%2Fflask-mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaresle-archive%2Fflask-mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaresle-archive%2Fflask-mongo/lists"}