{"id":23500108,"url":"https://github.com/amyhuang95/microservices-blog-app","last_synced_at":"2026-04-18T04:33:27.308Z","repository":{"id":255242771,"uuid":"848972544","full_name":"amyhuang95/microservices-blog-app","owner":"amyhuang95","description":"Simple blog app using microservices architecture to explore distributed systems, container orchestration, and cloud-native development.","archived":false,"fork":false,"pushed_at":"2024-09-01T23:53:13.000Z","size":58076,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T02:44:56.452Z","etag":null,"topics":["backend","containers","distributed-systems","kubernetes","microservices","web-development"],"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/amyhuang95.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-28T18:36:19.000Z","updated_at":"2024-12-03T05:03:46.000Z","dependencies_parsed_at":"2025-02-16T15:59:31.897Z","dependency_job_id":null,"html_url":"https://github.com/amyhuang95/microservices-blog-app","commit_stats":null,"previous_names":["amyhuang95/microservices-blog-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amyhuang95/microservices-blog-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fmicroservices-blog-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fmicroservices-blog-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fmicroservices-blog-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fmicroservices-blog-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amyhuang95","download_url":"https://codeload.github.com/amyhuang95/microservices-blog-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fmicroservices-blog-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31957000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["backend","containers","distributed-systems","kubernetes","microservices","web-development"],"created_at":"2024-12-25T06:37:28.118Z","updated_at":"2026-04-18T04:33:27.276Z","avatar_url":"https://github.com/amyhuang95.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Blog App Using Microservices Architecture\n\nThis project demonstrates a simple, yet robust, blog application designed to showcase the power of microservices architecture. The application is composed of several loosely-coupled, independently deployable services that work together to provide a seamless user experience. Each service is built with a specific purpose and can scale or evolve independently, enabling greater flexibility and resilience.\n\n**Business Logic:**\n\n1. Users create posts and add comments to each post.\n2. Comments undergo a moderation process to ensure content quality and compliance\n3. Users see the status of their comments—whether they are under review, approved, or rejected.\n\n## Key Features:\n\n- **Microservices Architecture**: Several backend services built with Express.js handle different business logic, such as creating posts, adding comments, moderating content, and aggregating data.\n- **Event-Driven Communication**: An event bus service facilitates asynchronous communication between microservices, enabling decoupled and scalable interactions.\n- **Containerization with Docker**: Each service runs in its own Docker container, ensuring consistent environments across development, testing, and production.\n- **Orchestration with Kubernetes**: A Kubernetes cluster manages the deployment, scaling, and availability of all services, providing a robust and fault-tolerant infrastructure.\n- **React Frontend**: Provides a dynamic and responsive user interface for creating posts and viewing moderated comments.\n\nBy leveraging this microservices architecture, this project demonstrates the benefits of building scalable, maintainable, and highly available applications.\n\n## Services\n\n### Client\n\nThe client folder contains a React application that serves as the frontend for the project. It interacts with various backend services to display data and handle user actions.\n\n### Posts\n\nThe posts service is an Express server that manages CRUD operations related to posts.\n\n### Comments\n\nThe comments service is an Express server responsible for handling CRUD operations related to comments on posts.\n\n### Moderation\n\nThe moderation service is an Express server that handles moderation logic for comments. It listens for events from the event-bus and performs the necessary actions.\n\n### Query\n\nThe query service is an Express server that consolidates data from various services to serve as a single endpoint for the client.\n\n### Event Bus\n\nThe event-bus service is an Express server that handles asynchronous communication between the various microservices. It helps in decoupling services and allows them to communicate via events.\n\n### Infrastructure\n\nThe infra/k8s folder contains Kubernetes YAML manifests that define deployments and services for each microservice:\n\n```\n*-depl.yaml: Deployment files for different services.\n\n*-srv.yaml: Service files for different services.\n\ningress-srv.yaml: Ingress configuration for routing traffic to the appropriate services.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famyhuang95%2Fmicroservices-blog-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famyhuang95%2Fmicroservices-blog-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famyhuang95%2Fmicroservices-blog-app/lists"}