Skip to content

A full-stack cryptocurrency price tracker with Tinder-style swipe animations. Built with performance-first backend optimizations and smooth Flutter animations. Give it a star 🌟

Notifications You must be signed in to change notification settings

Pinkisingh13/VeloxFi-Real-Time-Watcher

Repository files navigation

VeloxFi - Real-Time Crypto Watcher πŸš€

A full-stack cryptocurrency price tracker with Tinder-style swipe animations. Built with performance-first backend optimizations and smooth Flutter animations.

Demo Video

πŸ”— Watch Demo Video


✨ Features

Frontend (Flutter)

  • 🎴 Tinder-style swipe animations
  • πŸ“Š Real-time crypto data (30+ coins)
  • 🎨 Dark theme UI
  • πŸ”„ Auto-refresh every 15 minutes
  • πŸ“± Cross-platform (iOS, Android, Web)

Backend (Node.js)

  • ⚑ Optimized API calls with Keep-Alive
  • πŸ’Ύ Smart caching layer
  • πŸ›‘οΈ Circuit breaker pattern
  • πŸ—œοΈ Gzip compression
  • 🌐 Backend Deployed on Render

πŸ”§ Backend Optimizations

Optimization Steps

Optimization What it does Benefit
Keep-Alive Reuses TCP connections Saves 100-200ms per request
setTimeout Prevents request pile-up Safer than setInterval
Gzip Compresses responses ~80% smaller payloads
Circuit Breaker Hard limit on API calls Prevents runaway costs

Data Flow

Data Visualization


Getting Started

Prerequisites

  • Node.js 18+
  • Flutter 3.x
  • CoinCap API Key

Backend Setup

cd backend
npm install

Create .env file:

COIN_CAP_API_KEY=your_api_key
PORT=8000

Start server:

npm start

Frontend Setup

cd frontend
flutter pub get

Update lib/api_base.dart with your backend URL:

class BaseUrl {
  static String getBaseUrl() {
    return "https://your-backend-url.onrender.com/api/live";
  }
}

Run app:

flutter run

Project Structure

VeloxFi-Real-Time-Watcher/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ server.js          # Express server with optimizations
β”‚   β”œβ”€β”€ package.json
β”‚   └── .env
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”œβ”€β”€ main.dart      # UI + Swipe animations
β”‚   β”‚   β”œβ”€β”€ provider.dart  # State management
β”‚   β”‚   β”œβ”€β”€ api_base.dart  # API config
β”‚   β”‚   β”œβ”€β”€ model/
β”‚   β”‚   β”‚   └── data_model.dart
β”‚   β”‚   └── service/
β”‚   β”‚       └── api.dart
β”‚   └── pubspec.yaml
β”œβ”€β”€ optimization_image.jpg
β”œβ”€β”€ four_optimization_step.png
β”œβ”€β”€ data_visualisation_img.png
└── README.md

Tech Stack

Layer Technology
Frontend Flutter, Provider
Backend Node.js, Express, Axios
API CoinCap API
Deployment Render

Animation Details

The swipe animation uses:

  • AnimationController for timing
  • GestureDetector for drag handling
  • Transform.translate for position
  • Transform.rotate for tilt effect
  • Curves.elasticOut for bounce

Built with ❀️ by Pinki Singh

About

A full-stack cryptocurrency price tracker with Tinder-style swipe animations. Built with performance-first backend optimizations and smooth Flutter animations. Give it a star 🌟

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published