Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/torhamdev/buy-cryptocurrency

A simple cryptocurrency purchase system :)
https://github.com/torhamdev/buy-cryptocurrency

celery cryptocurrency django django-rest-framework docker docker-compose python3

Last synced: 2 months ago
JSON representation

A simple cryptocurrency purchase system :)

Awesome Lists containing this project

README

        

![Python]( https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue)
![Django](https://img.shields.io/badge/Django-092E20?style=for-the-badge&logo=django&logoColor=green)
![DjangoREST](https://img.shields.io/badge/django%20rest-ff1709?style=for-the-badge&logo=django&logoColor=white)
![MySQL](https://img.shields.io/badge/MySQL-005C84?style=for-the-badge&logo=mysql&logoColor=white)
![Docker](https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge&logo=docker&logoColor=white)
![Swagger](https://img.shields.io/badge/Swagger-85EA2D?style=for-the-badge&logo=Swagger&logoColor=white)

# Buy-cryptocurrency
A simple cryptocurrency purchase system :)

### Overview
![diagram](./readme_files/diagram.png)

1. The user sends a purchase request for any digital currency
2. We process the purchase request and then add the event to redis
3. A 30-second task takes the events inside Redis and processes and exchanges them.
4. Then it deletes the exchanged events from redis.

## How To Run?
**Note**: *You need to have `docker` and `docker-compose` installed.*

Then just run the following commands:

```bash

# clone the project
git clone https://github.com/TorhamDev/buy-cryptocurrency.git
# or usin ssh
git clone [email protected]:TorhamDev/buy-cryptocurrency.git

cd buy-cryptocurrency

# run project with docker and docker-compose
docker-compose up -d

# enjoy :)
```
## Document
**To see the project document, after running it, go to the `/redoc` or `/docs` path and view the document**

## License

[![Licence](https://img.shields.io/github/license/Ileriayo/markdown-badges?style=for-the-badge)](./LICENSE)