- Django Rest Framework
- Redis
- Celery
- Docker
- Postgres
- Clone the repo
- Run
docker-compose up -d --build
- Go to http://localhost:8000/
- http://localhost:8000/ - Home page
- http://localhost:8000/coin-list/ - List of coins in database
- http://localhost:8000/add-coin/?symbol=ETH - Add coin to track and save to database.
- http://localhost:8000/show-price/?symbol=ETH - Get price of coin from database.
- Add tests
- Migration to Postgres must be done automatically.
- Add cron job to update and save stock prices to the database.
- Add redis cache for stock prices (needs to be checked if it works).
- Add comments to code.
- Add error handling.