Giter Site home page Giter Site logo

cqrses_group5's Introduction

License golang golang-version commit build-CI

GOQRS

This school project is an API with no GUI, using the CQRS Pattern and an EventSourcing implementation to handle Authentification and manage Orders and OrderLines, for a restaurant or a coffee for exemple.

We used Docker, Compose, RabbitMQ and Go language in order to make a scalable and fast application, allowing evolutions.

Usage

git config core.hooksPath .githooks

Configure GitHooks

cp docker-compose.yaml.dist docker-compose.yaml

Docker configuration override, don't forget to add the Token, SQL and RBMQ variables

docker-compose up --build

Run the project

Consumer repo

https://github.com/HETIC-MT-P2021/CQRSES_GROUP5_CONSUMER

Resources

Order

Field Type Editable Description
id int no Order ID
reference string yes Order reference
customer string yes Customer name
time timestamp(UTC) no Order created on

Order Lines

Field Type Editable Description
id int no Order Line ID
meal string yes Type of meal ordered
quantity int yes Quantity of meal ordered
price int no Meal price (single unit)
order_id timestamp (UTC) no Order ID

Doc

You can find in the doc folder different files allowing everyone to understand how this app is structured and help you to use it:

Generated Doc

golds ./...

Start a local doc server

Or

golds -gen -dir=generated -nouses ./...

Generate static HTML doc pages

golds -dir=generated

View the generated doc

Authors


Athénaïs Dussordet

Alexandre Lellouche

Thomas Raineau

Corto Dufour

cqrses_group5's People

Contributors

traineau avatar araknyfe avatar alexandrelch avatar steakbarbare avatar

Watchers

James Cloos avatar primael avatar  avatar

Forkers

ayymericarn

cqrses_group5's Issues

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.