/Restaurant-App

Restaurant App 🍔 is a sample open source e-Commerce 🛒 application for ordering foods, powered by polyglot microservices :wheel_of_dharma: architecture and cross-platform development 📱🖥 🐳

Primary LanguageC#

Restaurant App

Gitter

Restaurant App is containerized polyglot microservices application that 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 best practices. You are always welcome to improve code quality and contribute it, if you have any questions or issues don't hesitate to ask in our gitter chat.

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 beautiful mobile apps using Xamarin.Forms
  • Configuring CI/CD pipelines using Gitlab CI, Azure DevOps, automated deployments using k8s, Helm, Docker
  • Using modern technologies such as GraphQL, gRPC, Apache Kafka, Serverless, Service meshes
  • Writing clean, maintainable and fully testable code, Unit Testing, Integration Testing and Mocking practices
  • Using SOLID Design Principles
  • Using Design Patterns and Best practices in different programming languages

Architecture overview

The architecture proposes a micro-service oriented architecture implementation with multiple autonomous micro-services (each one owning its own data/db and programming language) and using REST/HTTP as the communication protocol between the client apps, and gRPC for the backend communication in order to support data update propagation across multiple services.

List of micro-services and infrastructure components

Service Description Build status Quality Endpoints
1. Identity API (.NET Core + IdentityServer4) Identity management service, powered by OAuth2 and OpenID Connect dev | prod
2. Basket API (Golang + Redis) Manages customer basket in order to keep items on in-memory cache using redis dev | prod
3. Menu API (.NET Core, PostgreSQL) Manages data for showing restaurant menu dev | prod
4. Order API (Java + Spring Boot) Manages customer orders dev | prod

Mobile app

Mobile Build status Release
Android Build Status Download Android
iOS Build Status Download iOS

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!