A simple cryptocurrency purchase system :)
- The user sends a purchase request for any digital currency
- We process the purchase request and then add the event to redis
- A 30-second task takes the events inside Redis and processes and exchanges them.
- Then it deletes the exchanged events from redis.
Note: You need to have docker
and docker-compose
installed.
Then just run the following commands:
# clone the project
git clone https://github.com/TorhamDev/buy-cryptocurrency.git
# or usin ssh
git clone git@github.com:TorhamDev/buy-cryptocurrency.git
cd buy-cryptocurrency
# run project with docker and docker-compose
docker-compose up -d
# enjoy :)
To see the project document, after running it, go to the /redoc
or /docs
path and view the document