- Python-Django app to fetch and display crypto currency prices from the Coingecko cryptocurrency API
- Code from a tutorial by Pyplane - see 👏 Inspiration below
- Note: to open web links in a new window use: ctrl+click on link
- Coingecko cryptocurrency API supplied crypto currency information in JSON format. It is free and does not require an API key
- Bootstrap starter template used in
templates/base.html
- Python v3 programming language
- Django v3 server-side web framework
- Coingecko cryptocurrency API
- Bootstrap v4 framework
- requests v2 Python HTTP library package
- Celery v5 Distributed Task Queue
- Redis key value store
- Homebrew v2 - not for Windows - replace with Chocolatey?
- Install Python
- Install pip
- Install Django by typing
pip install Django
- Run
django-admin startproject crypto_proj
to create a new project ref. docs - Open
crypto_proj
in VS Code - Run
python manage.py startapp positions
to create Python module - Add code
- Run
pip freeze
to see list of modules installed. Ref. Docs - Run
python manage.py makemigrations
for changes to models etc. - Run
python manage.py migrate
to migrate the migration files. - To add a superuser run
python manage.py createsuperuser --username=joe --email=joe@example.com
Ref. Docs and log into admin panel - Run
python manage.py runserver
to run server on port 8000. A refresh is needed after any code changes
- extract from - tba
- Django inbuilt packages - admin dashboard
- Status: Incomplete: paused at video 3 - 4.05 while I check Homebrew for Windows - video only shows Mac version
- To-do: check if chocolatey package manager can replace Homebrew which is not for Windows
- Pyplane: Youtube: Django real time application | django channels, celery, redis | part 1 - overview
- Pyplane: Youtube: Django real time application | django channels, celery, redis | part 2
- Pyplane: Youtube: Django real time application | django celery in practice | part 3
- Pyplane: Youtube: Django real time application | django celery in practice | part 4
- N/A
- Repo created by Khalid, email: khaildmasude58@gmail.com