Crypto Tracker is a web application that allows users to stay updated with real-time cryptocurrency prices and charts. It enables users to track their cryptocurrency portfolio and monitor their investments with ease.
- Real-time cryptocurrency prices and charts
- Portfolio tracking functionality
- User-friendly interface
- Ccxt apis implementation https://github.com/ccxt/ccxt
To run Crypto Tracker locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/crypto-tracker.git
-
Create venv in CryptocurrencyTracker/
python3 -m venv venv source venv/bin/activate -
Install requirements.txt
pip install -r requirements.txt
-
Create local_settings.py in crypto_tracker/crypto_tracker:
#DJANGO SECRET KEY
SECRET_KEY = you can get it from django.core.management.utils.get_random_secret_key(), or https://miniwebtool.com/django-secret-key-generator/
#DATABASE SETTINGS
POSTGRES_HOST = 'postgres'
POSTGRES_DB = 'tracker_database'
POSTGRES_USER = 'user'
POSTGRES_PASSWORD = 'pass'
POSTGRES_PORT = 5432
# ENCRYPTION SETTINGS
KEY_INSTANCE = 32 byte key, generated from Fernet.generate_key(), you may find it in ecryption_config.py-
Create docker images, and launch servers:
Run docker app, and run these commands in CryptocurrencyTracker/
docker-compose build docker-compose up
You may now, try to launch http://localhost:8000/ in your browser you can change ALLOWED_HOSTS in settings.py file to suit your liking.