Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 :)
- Host: GitHub
- URL: https://github.com/torhamdev/buy-cryptocurrency
- Owner: TorhamDev
- License: mit
- Created: 2023-08-03T05:15:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-06T08:04:38.000Z (over 1 year ago)
- Last Synced: 2023-08-06T09:22:56.404Z (over 1 year ago)
- Topics: celery, cryptocurrency, django, django-rest-framework, docker, docker-compose, python3
- Language: Python
- Homepage:
- Size: 149 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.gitcd 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)