{"id":49453599,"url":"https://github.com/webmakaka/Microservices-with-Node-JS-and-React","last_synced_at":"2026-06-02T05:00:40.581Z","repository":{"id":38988118,"uuid":"259790178","full_name":"webmakaka/Microservices-with-Node-JS-and-React","owner":"webmakaka","description":"[Stephen Grider] Microservices with Node JS and React [ENG, 2020]","archived":false,"fork":false,"pushed_at":"2023-01-06T21:50:45.000Z","size":60197,"stargazers_count":256,"open_issues_count":54,"forks_count":121,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-06T05:05:30.397Z","etag":null,"topics":["curl","docker","jest","kubernetes","microservices","minikube","mongodb","mongoose","nats-streaming-server","nextjs","nodejs","reactjs","skaffold","stripe","supertest","typescript","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/webmakaka.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}},"created_at":"2020-04-29T01:07:03.000Z","updated_at":"2026-03-19T12:19:30.000Z","dependencies_parsed_at":"2023-02-06T09:31:08.625Z","dependency_job_id":null,"html_url":"https://github.com/webmakaka/Microservices-with-Node-JS-and-React","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webmakaka/Microservices-with-Node-JS-and-React","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmakaka%2FMicroservices-with-Node-JS-and-React","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmakaka%2FMicroservices-with-Node-JS-and-React/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmakaka%2FMicroservices-with-Node-JS-and-React/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmakaka%2FMicroservices-with-Node-JS-and-React/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmakaka","download_url":"https://codeload.github.com/webmakaka/Microservices-with-Node-JS-and-React/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmakaka%2FMicroservices-with-Node-JS-and-React/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33806987,"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-06-02T02:00:07.132Z","response_time":109,"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":["curl","docker","jest","kubernetes","microservices","minikube","mongodb","mongoose","nats-streaming-server","nextjs","nodejs","reactjs","skaffold","stripe","supertest","typescript","ubuntu"],"created_at":"2026-04-30T04:01:03.701Z","updated_at":"2026-06-02T05:00:40.486Z","avatar_url":"https://github.com/webmakaka.png","language":"TypeScript","funding_links":[],"categories":["📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"# [Stephen Grider] Microservices with Node JS and React [ENG, 2020]\n\n## Build, deploy, and scale an E-Commerce app using Microservices built with Node, React, Docker and Kubernetes\n\n\u003cbr/\u003e\n\n### [My Updatable Version of the final project from this course](https://github.com/webmakaka/Microservices-with-Node-JS-and-React-Improved)\n\n\u003chr/\u003e\n\n\u003cbr/\u003e\n\n## How to run apps\n\nI am working in ubuntu linux 18.04.\n\nMinikube, Kubectl, Docker, Skaffold should be installed.\n\n\u003cbr/\u003e\n\n### Skaffold installation\n\n    $ curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64\n\n    $ chmod +x skaffold\n    $ sudo mv skaffold /usr/local/bin\n\n\u003cbr/\u003e\n\n### Run minikube\n\n```\n$ {\nminikube --profile my-profile config set memory 8192\nminikube --profile my-profile config set cpus 4\n\n// minikube --profile my-profile config set vm-driver virtualbox\nminikube --profile my-profile config set vm-driver docker\n\nminikube --profile my-profile config set kubernetes-version v1.18.2\nminikube start --profile my-profile\n}\n```\n\n\u003cbr/\u003e\n\n    // Enable ingress\n    $ minikube addons --profile my-profile enable ingress\n\n\u003cbr/\u003e\n\n    $ minikube --profile my-profile ip\n    172.17.0.2\n\n\u003cbr/\u003e\n\n    $ sudo vi /etc/hosts\n\n```\n#---------------------------------------------------------------------\n# Minikube\n#---------------------------------------------------------------------\n172.17.0.2 posts.com\n172.17.0.2 ticketing.dev\n```\n\n\u003cbr/\u003e\n\n## How to run the final app1\n\n\u003cbr/\u003e\n\n    $ 04_Orchestrating_Collections_of_Services_with_Kubernetes\n    $ cd skaffold\n\n    $ docker login\n\nNeed to update my docker image name webmakaka/grider-ms-app1\\*\\*\\* to your in scripts from skaffold and k8s folders.\n\n    $ skaffold dev\n\n\u003cbr/\u003e\n\n    $ kubectl get pods\n    NAME                              READY   STATUS    RESTARTS   AGE\n    client-depl-99b7fcdcb-jhttp       1/1     Running   0          3m22s\n    comments-depl-69578db79c-jzdnh    1/1     Running   0          3m22s\n    event-bus-depl-7c5b75b7f4-m5qw6   1/1     Running   0          3m22s\n    moderation-depl-d7b49bfbc-cgl2l   1/1     Running   0          3m22s\n    posts-depl-78647cffd4-7gtzx       1/1     Running   0          3m22s\n    query-depl-656f9b6b58-bv7g7       1/1     Running   0          3m22s\n\n\u003cbr/\u003e\n\nbrowser --\u003e posts.com\n\n\u003cbr/\u003e\n\n## How to run the final app2\n\n\u003cbr/\u003e\n\n    $ kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf\n\n    // \u003cSTRIPE_SECRET_KEY\u003e from stripe.com\n    $ kubectl create secret generic stripe-secret --from-literal=STRIPE_KEY=\u003cSTRIPE_SECRET_KEY\u003e\n\n\u003cbr/\u003e\n\n    $ cd 22_Back_to_the_Client\n    $ cd skaffold\n\n    $ docker login\n\nNeed to update my docker image name webmakaka/grider-ms-app2\\*\\*\\* to your in scripts from skaffold and k8s folders.\n\n    $ skaffold dev\n\n\u003cbr/\u003e\n\n    $ kubectl get pods\n    NAME                                           READY   STATUS    RESTARTS   AGE\n    auth-deployment-57d779fd9-48s9v                1/1     Running   0          24s\n    auth-mongo-deployment-579c6dbd8f-69jbv         1/1     Running   0          23s\n    client-deployment-f5cfc5b8d-k2lxp              1/1     Running   0          23s\n    expiration-deployment-6bb67856b4-jkkbl         1/1     Running   0          23s\n    expiration-redis-deployment-5b58b869fd-hmq5f   1/1     Running   0          23s\n    nats-deployment-76479997ff-lpss8               1/1     Running   0          23s\n    orders-deployment-5c68dff5c9-dq6hl             1/1     Running   0          23s\n    orders-mongo-deployment-6896c8b9-42vpd         1/1     Running   0          23s\n    payments-deployment-68d4c7f4ff-nfsxb           1/1     Running   0          23s\n    payments-mongo-deployment-c89cb4fc7-4ggn7      1/1     Running   0          23s\n    tickets-deployment-7b746fff9-tvhzw             1/1     Running   0          23s\n    tickets-mongo-deployment-54f456bd95-hv9fb      1/1     Running   0          22s\n\n\u003cbr/\u003e\n\nchrome browser --\u003e https://ticketing.dev/\n\n\u003cbr/\u003e\n\ntype: **thisisunsafe** in the browser window with security warning.\n\n\u003cbr/\u003e\n\nExpected result:\n\n![Application](/img/pic-final-01.png?raw=true)\n\n\u003cbr/\u003e\n\n### Delete minikube with project\n\n    $ minikube --profile my-profile stop \u0026\u0026 minikube --profile my-profile delete\n\n\u003chr/\u003e\n\n\u003cbr/\u003e\n\n## Development step by step\n\n\u003cbr/\u003e\n\n## App1\n\n### [02. A Mini-Microservices App](./02_A_Mini_Microservices_App.md)\n\n### 03. Running Services with Docker (Docker Basics. Nothing Interesting)\n\n### [04. Orchestrating Collections of Services with Kubernetes](./04_Orchestrating_Collections_of_Services_with_Kubernetes.md)\n\n\u003cbr/\u003e\n\n## App2\n\n### [05. Architecture of Multi-Service Apps](./05_Architecture_of_Multi_Service_Apps.md)\n\n### 06. Leveraging a Cloud Environment for Development (Optional Section, Skipped)\n\n### [07. Response Normalization Strategies](./07_Response_Normalization_Strategies.md)\n\n### [08. Database Management and Modeling](./08_Database_Management_and_Modeling.md)\n\n### [09. Authentication Strategies and Options](./09_Authentication_Strategies_and_Options.md)\n\n### [10. Testing Isolated Microservices](./10_Testing_Isolated_Microservices.md)\n\n### [11. Integrating a Server-Side-Rendered React App](./11_Integrating_a_Server_Side_Rendered_React_App.md)\n\n### [12. Code Sharing and Reuse Between Services](./12_Code_Sharing_and_Reuse_Between_Services.md)\n\n### [13. Create-Read-Update-Destroy Server Setup](./13_Create_Read_Update_Destroy_Server_Setup.md)\n\n### [14. NATS Streaming Server - An Event Bus Implementation](./14_NATS_Streaming_Server_An_Event_Bus_Implementation.md)\n\n### [15. Connecting to NATS in a Node JS World](./15_Connecting_to_NATS_in_a_Node_JS_World.md)\n\n### [16. Managing a NATS Client](./16_Managing_a_NATS_Client.md)\n\n### [17. Cross-Service Data Replication In Action](./17_Cross_Service_Data_Replication_In_Action.md)\n\n### [18. Understanding Event Flow](./18_Understanding_Event_Flow.md)\n\n### [19. Listening for Events and Handling Concurrency Issues](./19_Listening_for_Events_and_Handling_Concurrency_Issues.md)\n\n### [20. Worker Services](./20_Worker_Services.md)\n\n### [21. Handling Payments](./21_Handling_Payments.md)\n\n### [22. Back to the Client](./22_Back_to_the_Client.md)\n\n### [23. CI/CD (I will not deploy app to clouds)](./23_CI_CD.md)\n\n\u003cbr/\u003e\n\n---\n\n\u003cbr/\u003e\n\n**Marley**\n\nAny questions in english: \u003ca href=\"https://jsdev.org/chat/\"\u003eTelegram Chat\u003c/a\u003e  \nЛюбые вопросы на русском: \u003ca href=\"https://jsdev.ru/chat/\"\u003eТелеграм чат\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmakaka%2FMicroservices-with-Node-JS-and-React","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmakaka%2FMicroservices-with-Node-JS-and-React","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmakaka%2FMicroservices-with-Node-JS-and-React/lists"}