Giter Club home page Giter Club logo

karting's Introduction

Karting app ๐ŸŽ๏ธ

Tests Maintainability

This is the project created to learn how to write EventDriven DDD application with CQRS in Laravel. I had some problems with how to do that properly. This project is my testing app. I'm trying to handle those problems:

  • Working with repository pattern and Aggregates in ActiveRecord ORM for testing without using database
  • How to handle Read Models in CQRS
  • Search the contexts / modules in domain logic
  • Communication between contexts / modules (Process Managers)

Thanks to Andrzej Krzywda for Instagram's private conversations about handling DDD problems in Active Record. The RES ecommerce is also really helpful for me in this project development.
I also learn a lot from Domain Driven Rails book by Arkency. Also thanks for Mariusz Gil and Kuba Pilimon for Aggregates by example repository. I modeled my availability context on this example.

๐Ÿ“˜ Domain

I had tried to make Event Storming for this application. Everything is described here.

๐Ÿš€ Run the application

To run this application locally with docker, just run:

make up

This command will configure app, create containers and run db migrations. Everything is executed by docker run/exec, so you need only docker installed localy.

If you work in non-native environment for docker like MasOS/Windows it could be slow. If you want, you can install all dependencies, and speed up work with app.

Requirements:

  • PHP >=8.0
  • Node >=14
  • Yarn >=1.22
  • Composer >= 2.0

Then you can run make targets locally, omitting the docker run:

SKIP_DOCKER=true make up

๐Ÿ’ฌ API

API is documented as Postman collection file here.

๐Ÿ“„ Architecture Decision Records

In this project, there is MADR used. You can find them here.

karting's People

Contributors

mtk3d avatar dependabot[bot] avatar

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.