It is a project for Yandex Practicum course Advanced Go developer.
The project is divided into two parts: an accrual system and a core system.
The accrual system provides an opportunity to register information about the reward for the order and to register the order for the calculation of bonus points.
The core system allows the user to register and start registering their completed orders, then the core system accesses the accrual system to obtain the number of points to be credited to the user, as well as the user can write off the accumulated points for future orders.
-
Language: Go
-
Database: Postgres
-
Documentation: Swagger 2.0
To get started with the Accumulative Loyalty System, follow these steps:
- Clone the Repository:
git clone https://github.com/MowlCoder/accumulative-loyalty-system.git
- Install Dependencies:
go mod tidy
-
Configure Settings: Create an
.env
file and populate it based on the.env.example
file -
Run application:
go run ./cmd/gophermart/main.go
go run ./cmd/accrual/main.go
Documentation is available in the docs directory or at /swagger/index.html
endpoint.
If you have any questions or need assistance, please don't hesitate to reach out at maikezseller@gmail.com.