{"id":19870329,"url":"https://github.com/alphaolomi/flask-mongo","last_synced_at":"2026-04-09T08:03:26.121Z","repository":{"id":99077720,"uuid":"226960083","full_name":"alphaolomi/flask-mongo","owner":"alphaolomi","description":"Flask with MongoDB and Docker","archived":false,"fork":false,"pushed_at":"2020-10-20T14:43:24.000Z","size":29,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T16:26:34.276Z","etag":null,"topics":["docker","docker-compose","dockerized","flask","flask-application","hacktoberfest","mong","mongo","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alphaolomi.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-09T20:21:04.000Z","updated_at":"2020-10-23T20:04:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"73840da6-62e2-4f39-8e26-809e83deaafb","html_url":"https://github.com/alphaolomi/flask-mongo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphaolomi%2Fflask-mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphaolomi%2Fflask-mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphaolomi%2Fflask-mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphaolomi%2Fflask-mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphaolomi","download_url":"https://codeload.github.com/alphaolomi/flask-mongo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241291721,"owners_count":19939494,"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":["docker","docker-compose","dockerized","flask","flask-application","hacktoberfest","mong","mongo","python3"],"created_at":"2024-11-12T16:08:36.509Z","updated_at":"2026-04-09T08:03:26.023Z","avatar_url":"https://github.com/alphaolomi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask with Mongo and Docker\n\n## Setup\n\n```bash\ndocker-compose up -d\n\ndocker ps\n```\n\n```bash\ndocker exec -it mongodb bash\n\nmongo -u mongodbuser -p\n```\n\n```\nshow dbs;\ndb.createUser({user: 'flaskuser', pwd: 'your password', roles: [{role: 'readWrite', db: 'flaskdb'}]})\nexit\n```\n\n```\nmongo -u flaskuser -p your password --authenticationDatabase flaskdb\nexit\n```\n\n## Running the Flask To-do App\n\n```bash\ncurl -i http://your_server_ip\n\n\ncurl -i\\\n    -H \"Content-Type: application/json\" \\\n    -X POST -d '{\"todo\": \"Dockerize Flask application with MongoDB backend\"}'\\\n    http://your_server_ip/todo\n\n\n# list all\ncurl -i http://your_server_ip/todo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphaolomi%2Fflask-mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphaolomi%2Fflask-mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphaolomi%2Fflask-mongo/lists"}