{"id":24785575,"url":"https://github.com/saifkhan192/docker-flask-sokcets-mongodb-api","last_synced_at":"2026-05-07T11:35:08.971Z","repository":{"id":195301116,"uuid":"462747250","full_name":"saifkhan192/docker-flask-sokcets-mongodb-api","owner":"saifkhan192","description":"Docker, Flask, MongoDB, Sockets API","archived":false,"fork":false,"pushed_at":"2022-02-23T15:41:31.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T08:49:43.004Z","etag":null,"topics":["flask","heroku","mongodb","python","socketio"],"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/saifkhan192.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}},"created_at":"2022-02-23T13:30:25.000Z","updated_at":"2022-02-24T06:35:24.000Z","dependencies_parsed_at":"2023-09-17T11:35:35.008Z","dependency_job_id":null,"html_url":"https://github.com/saifkhan192/docker-flask-sokcets-mongodb-api","commit_stats":null,"previous_names":["saifkhan192/docker-flask-sokcets-mongodb-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saifkhan192/docker-flask-sokcets-mongodb-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saifkhan192%2Fdocker-flask-sokcets-mongodb-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saifkhan192%2Fdocker-flask-sokcets-mongodb-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saifkhan192%2Fdocker-flask-sokcets-mongodb-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saifkhan192%2Fdocker-flask-sokcets-mongodb-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saifkhan192","download_url":"https://codeload.github.com/saifkhan192/docker-flask-sokcets-mongodb-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saifkhan192%2Fdocker-flask-sokcets-mongodb-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","heroku","mongodb","python","socketio"],"created_at":"2025-01-29T14:19:17.053Z","updated_at":"2026-05-07T11:35:08.952Z","avatar_url":"https://github.com/saifkhan192.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Docker, Flask, MongoDB, Sockets API\n[![Author](http://img.shields.io/badge/author-@saifkhan192-blue.svg)](https://www.linkedin.com/in/saifullah-khan-02318086/)\n\nA Simple project that uses Docker, Flask, MongoDB, Sockets\n\n## Features\n\n-   Todo: Authentication Layer\n-   Todo: Add modules for Models, Repositories, Services etc\n-   Todo: Exception handling\n-   Todo: Use Redis for caching\n-   Todo: Use Marshmallow Schemas for response building for apps\n\n\n## Project  structure\n```sh\n│   ├── direction_service.py\n│   ├── exceptions.py\n│   ├── flask_app.py\n│   ├── flask_app.pyc\n│   ├── fontend_app.py\n│   ├── geo_helper.py\n│   ├── helper.py\n│   ├── __init__.py\n│   ├── models.py\n│   ├── mongo_helper.py\n│   ├── repositories.py\n│   ├── run_server.py\n│   ├── tests\n│   │   ├── config.py\n│   │   ├── conftest.py\n│   │   └── test_trip.py\n│   └── wsgi.py\n├── ccurl.md\n├── docker\n│   ├── bash_history.log\n│   ├── docker-compose.yml\n│   ├── DockerfileApp\n├── gunicorn_starter.sh\n├── Makefile\n├── Procfile\n├── pytest.ini\n├── README.md\n├── requirements.txt\n├── runtime.txt\n├── static\n└── templates\n    └── socker-client-page.html\n\n```\n\n## Getting started\n\n```make\ngit clone https://github.com/saifkhan192/docker-flask-sokcets-mongodb-api.git\ncd docker-flask-sokcets-mongodb-api\nmake build \u0026\u0026 make run_app\n```\n\n\n\n## Deployed on Heroku\n\nLink for Home page:\nhttps://docker-flask-sokcets-mongodb.herokuapp.com/\n\nLink for Socket Demo Page:\nhttps://docker-flask-sokcets-mongodb.herokuapp.com/socket-frontend\n\n\n## Tests\n### Running  Test Cases\n\n```bash\nmake run_tests\n```\n\n## Usefull Make Commands\n\n```make\nmake follow_logs #show flask debug output\nmake bash_app #ssh into the app\nmake refresh_app #recreate app if flask does not reload on files changes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaifkhan192%2Fdocker-flask-sokcets-mongodb-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaifkhan192%2Fdocker-flask-sokcets-mongodb-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaifkhan192%2Fdocker-flask-sokcets-mongodb-api/lists"}