Skip to content

egorgasay/goMarket

Repository files navigation

goMarket

Template for online store with loyalty system and admin page. Microservice architecture.

Interaction scheme

изображение

Launch

docker-compose up -d

Loyalty Mechanics

Flexible model of interaction with the loyalty system. In the example, 10% of each purchase of a product with the letter "B" in the product name is credited. You can change this behavior by adding new mechanics to the accrual service.

Example

POST http://ACCRUAL_ADDRESS/api/goods HTTP/1.1
Content-Type: application/json

{
    "match": "Bork",
    "reward": 10,
    "reward_type": "%"
} 

Overview:

Main page

изображение

Basket

изображение

Order proccess

изображение

The page with the receipt

изображение

Admin page

Orders

изображение

Edit items

изображение

Add an item

изображение

About

Online store template with loyalty system

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published