{"repo":"aelassas/microservices","free":true,"listed":false,"github":"https://github.com/aelassas/microservices","clone":"git clone https://github.com/aelassas/microservices.git","description":"Microservices sample architecture using ASP.NET Core, Ocelot, MongoDB and JWT","language":"C#","stars":120,"topics":["api-gateway","asp-net-core","jwt","microservices-architecture","mongodb","ocelot","micorservices"],"license":null,"category":"auth-billing-email","readme_excerpt":"Contents 1. Introduction 2. Best Practices 3. Development Environment 4. Prerequisites 5. Architecture 6. Source Code 7. Microservices 1. Catalog Microservice 2. Identity Microservice 3. Adding JWT to Catalog Microservice 4. Cart Microservice 8. API Gateways 9. Client Apps 10. Unit Tests 11. Monitoring using Health Checks 12. How to Run the Application 13. How to Deploy the Application 14. References Introduction A microservices architecture consists of a collection of small, independent, and loosely coupled services. Each service is self-contained, implements a single business capability, is responsible for persisting its own data, is a separate codebase, and can be deployed independently. API gateways are entry points for clients. Instead of calling services directly, clients call the API gateway, which forwards the call to the appropriate services. There are multiple advantages using microservices architecture: Developers can better understand the functionality of a service. Failure in one service does not impact other services. It's easier to manage bug fixes and feature releases. Services can be deployed in multiple servers to enhance performance. Services are easy to change and test. Services are easy and fast to deploy. Allows to choose technology that is suited for a particular functionality. Before choosing microservices architecture, here are some challenges to consider: Services are simple but the entire system as a whole is more complex. Communication between serv","default_branch":null,"files":null,"tree":[],"storefront":"/r/aelassas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aelassas/microservices/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}