Code Monkey home page Code Monkey logo

omnisys-api's Introduction

This repo is no longer maintained

The new repository can be found at: https://github.com/jaytoy/omni-api

Introduction

This is a demo API that I built for my bachelor thesis “Omnichannel Architecture for Retail SMEs”. The thesis is trying to solve the challenges that SMEs face when selling in omnichannel. The idea is to create an API to connect to a headless e-commerce storefront and a POS system.

The e-commerce storefront and POS system are the frontend layer of the application. The former provides the user interface for customers to view the products and place an order, while the latter provides the user interface for the store manager or sales associates to process purchases and returns. The backend layer is an API to handle all the requests from the e-commerce website and POS system.

What is Omnichannel Retailing?

Omnichannel Retailing provides the greatest consumer experience by allowing customers, information, and inventory to move seamlessly between numerous channels throughout the purchasing process. The key point for Omnichannel Retailing is an integrated/seamless experience across all channels.

Why Clean Architecture?

The API was designed and implemented based on clean architecture.

1. Highly decoupled from details

Details are the elements that are not related to the business domain or business logic, so they belong to the outermost layer in the clean architecture. The inner layers know nothing about the details that the outer layer is implementing.

2. Easily testable

The business logic is separated from external frameworks or libraries, so there is no hard coupling between services, making the system testable.

3. Maintainable and easier to understand

In clean architecture, separation of concern is achieved as the code is separated into four layers depending on responsibilities. The dependency rule in clean architecture keeps the dependency direction from outside to inside, so these elements can be changed easily without affecting the system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.