Skip to content

HETIC-MT-P2021/CQRSES_GROUP5_CONSUMER

Repository files navigation

License golang golang-version commit build-CI

GO CQRS ES Ordering Application Consumer - Student Project

This consumer is linked with a Go CQRS ES student project.

It receives messages from the main project Message Broker, and it writes into the Elastic Search database.

This project is built on a shared docker network with the main project.

Usage

git config core.hooksPath .githooks

Configure GitHooks

cp docker-compose.yml.dist docker-compose.yml

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

docker-compose up --build

Run the project

License

MIT

Main repository

Main repository for this consumer

For further project documentation

Please visit all the project documentation (functionnal and technical specs, architecture, etc.) in the root doc of main project

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

Generating a project documentation

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

About

Consumer for CQRSES_GROUP5 student project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published