/Restaurant-App

Restaurant App is a sample open source e-Commerce application for ordering foods, powered by polyglot microservices architecture and cross-platform development (Mobile, Web, Desktop)

Primary LanguageC#MIT LicenseMIT

Restaurant App

Gitter

Restaurant App is containerized polyglot microservices application which contains projects based on .NET Core, Golang, Java, Xamarin, React, Angular and etc. The project demonstrates how to develop small microservices for larger applications using containers, orchestration, service discovery, gateway, and etc.

To getting started, simply fork this repository. Please refer to CONTRIBUTING.md for contribution guidelines.

Motivation

  • Developing independently deployable and scalable micro-services
  • Developing cross-platform mobile apps using Xamarin.Forms
  • Configuring CI/CD pipelines
  • Using Docker and k8s
  • Writing clean, maintainable and fully testable code
  • Using SOLID principles
  • Using Design Patterns

Architecture overview

The architecture proposes a micro-service oriented architecture implementation with multiple autonomous micro-services (each one owning its own data/db) and implementing different approaches within each microservice using REST/HTTP as the communication protocol between the client apps and backend and supports asynchronous communication for data updates propagation across multiple services based on Integration Events and an Event Bus(Apache Kafka).

List of several individual microservices and infrastructure components

Service Description Build status Coverage Endpoints
1. Identity API (.NET Core + IdentityServer4) Authentication service powered by OAuth2 and OpenID Connect dev | prod
2. Basket API (Golang + Redis) Manages customer basket in order to keep items, caches items into redis dev | prod
3. Menu API (.NET Core, PostgreSQL) Manages data for showing on the list dev | prod
4. Order API (Java + Spring Boot) Manages customer orders and notifies cook about new orders dev | prod

Mobile app

Mobile Build status
Android (AppCenter) Android Build status
iOS (AppCenter) iOS Build status

Mobile app developed by Xamarin.Forms and supports iOS and Android, here you can find how to develop cross-platform mobile apps using C#. The example shows how to develop beautiful user interfaces using Xamarin.Forms and how to manage your code with Clean Architecture on the mobile side and get a clean, maintainable, testable code.

Contributors

Thank you to all the people who have already contributed to our project!