2017-04-03 14:59:43 +02:00
|
|
|
# Stock-Microservice
|
2017-03-30 19:14:56 +02:00
|
|
|
This is a microservice cutted out of a [Monolith](https://gitlab.com/matthiasstock/monolith).
|
2017-03-25 14:31:35 +01:00
|
|
|
|
2017-04-28 10:27:36 +02:00
|
|
|
[![Build Status](https://travis-ci.org/genofire/hs_master-kss-monolith.svg?branch=master)](https://travis-ci.org/genofire/hs_master-kss-monolith) [![Coverage Status](https://coveralls.io/repos/github/genofire/hs_master-kss-monolith/badge.svg?branch=master)](https://coveralls.io/github/genofire/hs_master-kss-monolith?branch=master) [![GoDoc](https://godoc.org/github.com/genofire/hs_master-kss-monolith?status.svg)](https://godoc.org/github.com/genofire/hs_master-kss-monolith)
|
2017-03-25 14:31:35 +01:00
|
|
|
|
2017-04-03 14:59:43 +02:00
|
|
|
## Features of this stock mircoservice
|
2017-04-26 15:40:01 +02:00
|
|
|
* The main functionality of the microservice is to store the goods with their storage location and a time stamp, when they where stored.
|
|
|
|
* Functionality of the admin frontend
|
2017-04-28 10:27:36 +02:00
|
|
|
* Add new goods to the stock
|
|
|
|
* Manually remove a single goods from the stock, for example when they are rancid
|
|
|
|
* Remove single goods from the stock, when they are send to a costumer
|
|
|
|
* Block goods from the stock, when a costumer added them to hie cart
|
2017-04-26 15:40:01 +02:00
|
|
|
* Functionality of the costumer frontend
|
2017-04-28 10:27:36 +02:00
|
|
|
* Show the store with a traffic light food labelling
|
|
|
|
* A stock of more then seven goods corresponds to the colour green (sufficient amount of goods)
|
|
|
|
* A stock between four and seven goods corresponds to the colour orange (moderate amount of goods)
|
|
|
|
* A stock between zero and three goods corresponds to the colour red (slim amount of goods)
|
2017-04-26 15:40:01 +02:00
|
|
|
* Optional Features
|
2017-04-28 10:27:36 +02:00
|
|
|
* Admin frontend: display of a statistic on how many goods where convexed and manually removed from the stock during the last month
|
|
|
|
* Traffic light food labelling for each good, which indicates whether the good is too old
|