{"id":20443524,"url":"https://github.com/torhamdev/simple-wallet","last_synced_at":"2026-05-28T20:31:00.701Z","repository":{"id":231315922,"uuid":"781458612","full_name":"TorhamDev/simple-wallet","owner":"TorhamDev","description":"a simplified wallet service with a strange twist.","archived":false,"fork":false,"pushed_at":"2024-04-06T12:54:24.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T08:19:57.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TorhamDev.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":"2024-04-03T12:25:39.000Z","updated_at":"2024-09-14T13:23:15.000Z","dependencies_parsed_at":"2024-04-03T13:40:32.086Z","dependency_job_id":"406989d8-b87e-4efc-b0f3-4e6866f08613","html_url":"https://github.com/TorhamDev/simple-wallet","commit_stats":null,"previous_names":["torhamdev/simple-wallet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TorhamDev/simple-wallet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorhamDev%2Fsimple-wallet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorhamDev%2Fsimple-wallet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorhamDev%2Fsimple-wallet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorhamDev%2Fsimple-wallet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TorhamDev","download_url":"https://codeload.github.com/TorhamDev/simple-wallet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorhamDev%2Fsimple-wallet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33626136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-15T09:48:02.598Z","updated_at":"2026-05-28T20:31:00.679Z","avatar_url":"https://github.com/TorhamDev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-wallet\n\n\u003e a simplified wallet service with a strange twist.\n\n_*this is an assignment*_\n\n## NOTE\n\nI know that Redis is not a good option for this project! probably RabbitMQ is a better option, but why do I use Redis and make a lot of problems for myself? bc I know Redis! I prefer using something I know instead of something I have no idea about, so that was why I used Redis in this project if you are wondering.\n\n### things I want to do but I don't have time for it:\n\n- [ ] Dockerizing the project\n- [ ] Setup logger\n- [ ] Swagger doc\n- [ ] Complite testing\n- [ ] Use somthing better than redis\n\n### The main problem of this project\n\nthis project has a main problem and it starts with 3rd party service, we have to deposit to the user's bank account via a 3rd party API and make sure that both services are on the same page (our and 3rd party).\nso if 3rd party has a problem with the deposit we have to roll back all of our work and what if 3rd party doesn't have any problem but we land a problem? this is not reminding you of something? yes, [Two Generals' Problem](https://www.designgurus.io/answers/detail/what-is-the-two-generals-problem)\n\nso we know there is no real answer to this problem, there is always something wrong with this situation and I guess dealing with this problem was the main target of the project.\n\n### How To RUN?\n\nmake sure you have `Redis`, `MySQL`, `Celery` and `Celery Beat` already installed and run\nthen update your own configs into `.env` file, you can find a sample in `wallet/.env.sample` file\nthen run commands below step by step\n\n```bash\ngit clone https://github.com/TorhamDev/simple-wallet.git\n\ncd simple-wallet/wallet\n\npip install -r requirements.txt\n\npython manage.py makemigrations \u0026\u0026 pyhthon manage.py migrate\n\npython manage.py runserver\n```\n**You need run third party service too**\n\n![image](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge\u0026logo=python\u0026logoColor=blue)\n![Django](https://img.shields.io/badge/django-%23092E20.svg?style=for-the-badge\u0026logo=django\u0026logoColor=white)\n![DjangoREST](https://img.shields.io/badge/DJANGO-REST-ff1709?style=for-the-badge\u0026logo=django\u0026logoColor=white\u0026color=ff1709\u0026labelColor=gray)\n![MySQL](https://img.shields.io/badge/mysql-4479A1.svg?style=for-the-badge\u0026logo=mysql\u0026logoColor=white)\n![Redis](https://img.shields.io/badge/redis-%23DD0031.svg?style=for-the-badge\u0026logo=redis\u0026logoColor=white)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorhamdev%2Fsimple-wallet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorhamdev%2Fsimple-wallet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorhamdev%2Fsimple-wallet/lists"}