Skip to content

machester4/products-leaderboard

Repository files navigation

Products Leaderboard

The concept of a leaderboard—a scoreboard showing the ranked names and current scores (or other data points) of the leading competitors—is essential to the world of computer gaming, but leaderboards are now about more than just games. In this case we are using it to create a ranking of the most liked products

Key FeaturesDependenciesHow To UseDocumentation

Key Features

  • Massive scale across millions of products
  • Decentralized microservice architecture
  • Onion architecture
  • Built on top of Redis Leaderboard
  • CI / CD pipeline with GitHub Actions
  • K8s deployment

Dependencies

How To Use

Running the project

Before running the project please ensure that all the dependencies are installed in your system. Then follow the next:

  1. Run pubsub emulator. Click here

  2. Create topic and subscription.

    • Topic: voucher-metric
    • Subscription: voucher-metric-sub
  3. Run Redis. Click here

  4. Run the project itself.

    make web
    

Running the tests

In order to run the project tests you need to execute the following command:

make test

TODO:

  • Integration tests
  • Circuit breaker
  • Logging
  • Monitoring
  • Error handling
  • Documentation

Documentation

About

Products leaderboard based on voucher calculator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published