{"id":13829217,"url":"https://github.com/prashant-shahi/ToDo-List-using-Flask-and-MongoDB","last_synced_at":"2025-07-09T09:32:49.442Z","repository":{"id":41429683,"uuid":"63982902","full_name":"prashant-shahi/ToDo-List-using-Flask-and-MongoDB","owner":"prashant-shahi","description":"Sample Flask App with MongoDB - Simple implementation of ToDo List along with Dockerfile and Kubernetes yaml files","archived":false,"fork":false,"pushed_at":"2024-08-14T09:30:21.000Z","size":238,"stargazers_count":93,"open_issues_count":2,"forks_count":77,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-11-14T04:03:54.654Z","etag":null,"topics":["docker","dockerfile","flask","flask-docker","flask-mongodb","k8s","mongodb","python","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/prashant-shahi.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":"2016-07-22T21:00:47.000Z","updated_at":"2024-10-19T06:00:36.000Z","dependencies_parsed_at":"2024-10-22T20:11:01.509Z","dependency_job_id":null,"html_url":"https://github.com/prashant-shahi/ToDo-List-using-Flask-and-MongoDB","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/prashant-shahi%2FToDo-List-using-Flask-and-MongoDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant-shahi%2FToDo-List-using-Flask-and-MongoDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant-shahi%2FToDo-List-using-Flask-and-MongoDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashant-shahi%2FToDo-List-using-Flask-and-MongoDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashant-shahi","download_url":"https://codeload.github.com/prashant-shahi/ToDo-List-using-Flask-and-MongoDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225533010,"owners_count":17484179,"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","dockerfile","flask","flask-docker","flask-mongodb","k8s","mongodb","python","rest-api"],"created_at":"2024-08-04T10:00:27.854Z","updated_at":"2024-11-20T10:30:32.658Z","avatar_url":"https://github.com/prashant-shahi.png","language":"JavaScript","funding_links":[],"categories":["Available Apps"],"sub_categories":[],"readme":"# To-Do-List\n\nTo-Do-List is mini-project made with Flask and MongoDB. Dockerfile is also available to make docker image and docker containers.\n\n## Built using :\n```sh\n\tFlask : Python Based mini-Webframework\n\tMongoDB : Database Server\n\tPymongo : Database Connector ( For creating connectiong between MongoDB and Flask )\n\tHTML5 (jinja2) : For Form and Table\n```\n\n## Set up environment for using this repo:\n```\nInstall Python ( If you don't have already )\n\t$ sudo apt-get install python\n\nInstall MongoDB ( Make sure you install it properly )\n\t$ sudo apt install -y mongodb\n\n\nInstall Dependencies of the application (Flask, Bson and PyMongo)\n\t$ pip install -r requirements.txt\n```\n\n## Run the application\n```\nRun MongoDB\n1) Start MongoDB\n\t$ sudo service mongod start\n2) Stop MongoDB\n\t$ sudo service mongod stop\n\nRun the Flask file(app.py)\n\t$ FLASK_ENV=development python app.py\n\nGo to http://localhost:5000 with any of browsers and DONE !!\n\t$ open http://localhost:5000\n\nTo exit press Ctrl+C\n```\n\n## Using [Docker](https://www.docker.com) [Docker-Compose](https://docs.docker.com/compose)\n\nMake sure that you are inside the project directory, where `docker-compose.yaml` file is present. Now, building and running the application server container and mongodb container using `docker-compose` :\n```\nBuilding or fetching the necessary images and later, creating and starting containers for the application\n    $ docker-compose up -d\n\nGo to http://localhost:5000 with any of browsers and DONE !!\n    $ open http://localhost:5000\n```\n\n### Running, Debugging and Stopping the application under the hood\n```\nFor almost all of the `docker-compose` commands, make sure that you are inside the project directory, where `docker-compose.yaml` file is present.\n\nPassing `-d` flag along with docker-compose, runs the application as daemon\n    $ docker-compose up -d\n\nSeeing all of the logs from the application deployed.\n    $ docker-compose logs\n\nStopping the application\n    $ docker-compose down\n```\n\n## Screenshot :\n\n![Screenshot of the Output](https://github.com/CoolBoi567/ToDo-List-using-Flask-and-MongoDB/blob/master/static/images/screenshot.jpg?raw=true \"Screenshot of Output\")\n\nThanks to Twitter for emoji support with [Twemoji](https://github.com/twitter/twemoji).\n\nMade with ❤️ from Nepal 🇳🇵\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant-shahi%2FToDo-List-using-Flask-and-MongoDB","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashant-shahi%2FToDo-List-using-Flask-and-MongoDB","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashant-shahi%2FToDo-List-using-Flask-and-MongoDB/lists"}