{"id":21497304,"url":"https://github.com/paulo-amaral/docker-flask-mongodb-api","last_synced_at":"2025-07-15T20:30:38.338Z","repository":{"id":49547033,"uuid":"166353694","full_name":"paulo-amaral/docker-flask-mongodb-API","owner":"paulo-amaral","description":"🖖🏼Flask App API with MongoDB using Docker Compose.","archived":false,"fork":false,"pushed_at":"2023-02-15T21:29:09.000Z","size":95,"stargazers_count":2,"open_issues_count":3,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-18T13:07:14.687Z","etag":null,"topics":["api","docker","docker-compose","flask","flask-application","mongodb","mongodb-database","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulo-amaral.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}},"created_at":"2019-01-18T06:12:21.000Z","updated_at":"2023-11-16T20:27:31.000Z","dependencies_parsed_at":"2023-01-24T21:00:37.952Z","dependency_job_id":null,"html_url":"https://github.com/paulo-amaral/docker-flask-mongodb-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/paulo-amaral%2Fdocker-flask-mongodb-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulo-amaral%2Fdocker-flask-mongodb-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulo-amaral%2Fdocker-flask-mongodb-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulo-amaral%2Fdocker-flask-mongodb-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulo-amaral","download_url":"https://codeload.github.com/paulo-amaral/docker-flask-mongodb-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226065972,"owners_count":17568295,"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":["api","docker","docker-compose","flask","flask-application","mongodb","mongodb-database","python","python3"],"created_at":"2024-11-23T16:23:04.942Z","updated_at":"2024-11-23T16:23:06.731Z","avatar_url":"https://github.com/paulo-amaral.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![alt text][1.1]][1]\n[![alt text][2.1]][2]\n[![alt text][3.1]][3]\n\n[1.1]: http://i.imgur.com/tXSoThF.png (twitter icon with padding)\n[2.1]: http://i.imgur.com/P3YfQoD.png (facebook icon with padding)\n[3.1]: http://i.imgur.com/0o48UoR.png (github icon with padding)\n\n\n[1]: http://www.twitter.com/paulo_s_amaral\n[2]: https://www.facebook.com/paulo.s.amaral\n[3]: http://www.github.com/paulo-amaral\n\n\n## DOCKER - FLASK/MONGODB API\nDev Environment - Python Flask App API with MongoDB using Docker Compose.\n\n\n## Motivation\nThis deploy was used for a humanitarian project by (JUS/UNWOMEN). This project permits that some people reporting sexual harassment on the public service in TIMOR-LESTE. We created a chatbot called ROSA.This Chatbot receives the complaints via API and saves it into a mongodb database for CRUD operations.\n\nCheckout ROSA bot : https://m.me/RosaCFP.\n\n\n## Required Software\nThe implementation uses Docker CE and Docker-compose: Compose is a tool for defining and running complex applications with Docker. With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.\n\n### To install it, please use my personal script (CentOS/Debian/Ubuntu) like this:\n\nhttps://github.com/paulo-amaral/Install-docker-ce-docker-compose\n\n### Hands-on Install\nInstall Docker CE:\n\nhttps://do.co/2TVqbbH\n\nInstall Docker-compose :\n\nhttps://docs.docker.com/compose/install/\n\nAfter installing Docker and Docker-compose on your machine, you can go to the project main folder and type:\n\n$docker-composer build\n\n$docker-compose up\n\nDocker-compose will build the containers necessary for your environment. Basically there will be two containers, one with Python, Flask and a few modules and another container with MongoDB bound to the first. The environment structure is as follow:\n\n\n## How to install\n   ## 1 - Clone repo:\n     git clone https://github.com/paulo-amaral/docker-flask-mongodb-API.git\n     \n   ## 2 - Build : (optional) \n     $docker-compose build\n     \n   ## 3 - Start and debug:\n     $docker-compose up\n     \n## Start NGROK and API(optional)\nAfter deploy, you can use or setup a NGROK - https://ngrok.com/\n\nThis handy tool lets you set up a secure tunnel to your localhost, which is a fancy way of saying it opens access to your local API from the internet:\n\n`\n$./ngrok http 8080\n`   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulo-amaral%2Fdocker-flask-mongodb-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulo-amaral%2Fdocker-flask-mongodb-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulo-amaral%2Fdocker-flask-mongodb-api/lists"}