{"id":15175230,"url":"https://github.com/kareimgazer/to-do-microservices","last_synced_at":"2026-01-28T13:02:23.164Z","repository":{"id":255388888,"uuid":"849451480","full_name":"KareimGazer/To-Do-Microservices","owner":"KareimGazer","description":"Simple prototype demonstrating microservices at scale. ","archived":false,"fork":false,"pushed_at":"2024-08-29T19:21:02.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T18:15:16.606Z","etag":null,"topics":["busybox","docker","docker-compose","express","javascript","microservices","mongodb","nginx","nodejs","proxy-server","react","redis","single-page-app"],"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/KareimGazer.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":"2024-08-29T16:07:25.000Z","updated_at":"2024-12-06T12:51:00.000Z","dependencies_parsed_at":"2024-08-29T18:25:19.725Z","dependency_job_id":null,"html_url":"https://github.com/KareimGazer/To-Do-Microservices","commit_stats":null,"previous_names":["kareimgazer/to-do---microservice","kareimgazer/to-do-microservices"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KareimGazer%2FTo-Do-Microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KareimGazer%2FTo-Do-Microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KareimGazer%2FTo-Do-Microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KareimGazer%2FTo-Do-Microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KareimGazer","download_url":"https://codeload.github.com/KareimGazer/To-Do-Microservices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238310333,"owners_count":19450841,"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":["busybox","docker","docker-compose","express","javascript","microservices","mongodb","nginx","nodejs","proxy-server","react","redis","single-page-app"],"created_at":"2024-09-27T12:20:24.872Z","updated_at":"2025-10-26T10:31:16.555Z","avatar_url":"https://github.com/KareimGazer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# To Do (Single-Page App) - Microservice\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS_G6dRMpkhrmovVpOgw8jGhqwZ09Fizun85g\u0026s\" alt=\"Microservices\"/\u003e\n\u003c/p\u003e\n\nBasic To Do application demonstrating the microservice architecture by deploying the frontend, the backend, the database, and cache all as its own service while providing an Nginx proxy-server as a defualt gateway to the app.\n\n## Architecture 🛠️\n\nThe client first communicates with the Nginx proxy server to get initial single page data. The proxy-server acts as an CDN.\n![Frontend Request](./img/nginx-setup.png)\n\nThen the app starts fetching data from the backend (express app)\n\n![Frontend Request](./img/nginx-setup2.png)\n\nThe backend uses MongoDB as a permanent store. data are persisted locally using docker volumes. Redis DB is used for caching.\n\n![Frontend Request](./img/backend_drawio.png)\n\nThe containers use the default network bridge for communication with DNS lookups provided by Docker.\n\n[BusyBox](https://www.busybox.net/) is provided as a service to debug the network of the containers internally.\n\n## Getting Started (Docker 🐋)\n\n```bash\ndocker compose -f ./docker-compose.dev.yml up\n```\n\n## File Structure\n\n```\nTo-Do-Microservices\n├── todo-frontend                frontend-app\n├── todo-backend                 backend server contsaing express, Mongo, Redis\n    ├── utils                    Databases configurations\n    ├── mongo                    Mongo DB - NoSQL for simplicity\n    ├── redis                    Redis DB - used for caching\n├── .gitignore                   ignoreing data volumes from VCS\n├── docker-compose.dev.yml       development deployment composer file\n├── nginx.dev.conf               Nginx configuration for development deployment\n└── README.md                    main documentation\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareimgazer%2Fto-do-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkareimgazer%2Fto-do-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareimgazer%2Fto-do-microservices/lists"}