A modern Django web application that displays real-time cryptocurrency prices with stunning 3D visualizations using the CoinMarketCap API.
- 🎨 3D Interactive UI - Beautiful 3D cards with hover effects and animations
- 📊 Real-time Data - Live cryptocurrency prices from CoinMarketCap API
- 📱 Responsive Design - Works perfectly on desktop and mobile
- 🔒 Secure Configuration - Environment variables for sensitive data
- ⚡ Fast Performance - Optimized for speed and smooth animations
git clone <your-repo-url>
cd Bitcoinpricespython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirement.txt# Create environment file
python setup_env.py create
# Check environment setup
python setup_env.py checkpython manage.py migratepython manage.py runserverVisit http://127.0.0.1:8000/ to see your 3D crypto dashboard!
The application uses environment variables for secure configuration. Copy .env.example to .env and update the values:
# Django Settings
SECRET_KEY=your_secret_key_here
DEBUG=True
ALLOWED_HOSTS=localhost,127.0.0.1
# CoinMarketCap API Configuration
COINMARKETCAP_API_KEY=your_coinmarketcap_api_key_here
COINMARKETCAP_API_URL=https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest- Perspective Effects - True 3D transforms with CSS perspective
- Interactive Cards - Hover effects that lift and rotate cards
- Mouse Parallax - Cards respond to mouse movement
- Smooth Animations - Professional easing and transitions
- Gradient Backgrounds - Beautiful color schemes
- Responsive Grid - Adaptive layout for all screen sizes
The app integrates with the CoinMarketCap Pro API to fetch:
- Real-time cryptocurrency prices
- Market capitalization data
- 24-hour trading volume
- Price change percentages
- Market rankings
For production deployment:
- Set
DEBUG=Falsein your environment - Update
ALLOWED_HOSTSwith your domain - Use a secure
SECRET_KEY - Configure your production database
- Set up proper logging and monitoring
# Check environment status
python setup_env.py check
# Create new environment file
python setup_env.py create
# Show help
python setup_env.py helpBitcoinprices/
├── bitcoin/ # Main Django app
├── crypto/ # Project settings
├── templates/ # HTML templates
├── .env # Environment variables (not in git)
├── .env.example # Environment template
├── setup_env.py # Environment management script
└── requirement.txt # Python dependencies
Contributions are welcome! Please feel free to submit a Pull Request.
Created by sudhanshujha