Skip to content

Oeconomia2025/oec-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

668 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Oeconomia Cryptocurrency Dashboard

A comprehensive cryptocurrency dashboard and governance platform for the Oeconomia ecosystem, providing advanced portfolio tracking, real-time market insights, and a fully decentralized governance infrastructure.

Oeconomia Dashboard TypeScript React Node.js PostgreSQL

πŸš€ Features

πŸ“Š Real-Time Analytics

  • Live Price Tracking - Real-time OEC token price updates from multiple sources
  • Market Metrics - Volume, liquidity, market cap, and trading analytics
  • Historical Charts - Interactive price history with multiple timeframes
  • BSC Integration - Direct Binance Smart Chain transaction monitoring

πŸ’° DeFi Management

  • Portfolio Tracking - Comprehensive view of all DeFi positions
  • Staking Pools - Multiple pool options (flexible, 30-day, 90-day, 180-day)
  • ROI Calculator - Real-time staking rewards calculation
  • Achievement System - Gamified badges for staking milestones

πŸ›οΈ Governance Platform

  • Proposal Creation - Submit governance proposals with detailed specifications
  • Voting System - Democratic voting on protocol decisions
  • Delegation - Delegate voting power to trusted representatives
  • Discussion Forums - Community discussion for each proposal

πŸŽ“ Gamified Learning

  • Progress Tracking - XP system with levels and achievements
  • Educational Resources - Curated learning materials about DeFi and blockchain
  • Achievement Badges - Unlock rewards for completing educational content
  • Progress Visualization - Interactive dashboards showing learning progress

πŸ”— Wallet Integration

  • Multi-Wallet Support - Connect with popular crypto wallets
  • BSC Network - Native Binance Smart Chain integration
  • Transaction History - View and filter transaction history
  • Security Features - Secure wallet connection protocols

πŸ› οΈ Technology Stack

Frontend

  • React 18 with TypeScript for type-safe development
  • Tailwind CSS with custom crypto-themed design system
  • Radix UI components for accessibility and consistency
  • TanStack Query for efficient server state management
  • Wouter for lightweight routing
  • Recharts for interactive data visualizations

Backend

  • Node.js with Express.js server
  • TypeScript throughout the entire stack
  • Drizzle ORM for PostgreSQL database interactions
  • Session Management with PostgreSQL-based storage

Database & Storage

  • PostgreSQL with Neon Database (serverless)
  • Persistent Session Storage for user preferences
  • Historical Data tracking for analytics and charts

External Integrations

  • CoinGecko API - Market data and token information
  • BSCScan API - Blockchain transactions and network data
  • PancakeSwap API - DEX trading data and liquidity

⚑ Quick Start

Prerequisites

  • Node.js 18+ installed
  • PostgreSQL database (or Neon Database account)
  • API keys for external services

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/oeconomia-dashboard.git
    cd oeconomia-dashboard
  2. Install dependencies

    npm install
  3. Set up environment variables Create a .env file in the root directory:

    DATABASE_URL=your_postgresql_connection_string
    BSCSCAN_API_KEY=your_bscscan_api_key
    VITE_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_id
  4. Set up the database

    npm run db:push
  5. Start the development server

    npm run dev
  6. Open your browser Navigate to http://localhost:5000

πŸ“ Project Structure

oeconomia-dashboard/
β”œβ”€β”€ client/                 # React frontend application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/     # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ pages/         # Application pages/routes
β”‚   β”‚   └── lib/           # Utilities and helpers
β”œβ”€β”€ server/                # Express.js backend
β”‚   β”œβ”€β”€ routes.ts          # API route definitions
β”‚   β”œβ”€β”€ storage.ts         # Database storage layer
β”‚   └── db.ts             # Database connection
β”œβ”€β”€ shared/                # Shared TypeScript types
β”‚   └── schema.ts          # Database schema and types
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ tailwind.config.ts
└── vite.config.ts

πŸ”§ Available Scripts

  • npm run dev - Start development server with hot reload
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run db:push - Push database schema changes
  • npm run db:generate - Generate database migrations

🌟 Key Highlights

Recent Features (2025)

  • βœ… Gamified Learning System - XP tracking, achievements, and progress visualization
  • βœ… Enhanced Navigation - Streamlined sidebar with social media integration
  • βœ… Staking DApp - Multi-pool staking interface with colorful gradients
  • βœ… ROI Calculator - Interactive calculations with collapsible interface
  • βœ… Achievement Badges - Gamified system with 6+ badge types
  • βœ… Portfolio Analytics - Volume & liquidity analytics with historical charts

User Experience

  • Mobile-First Design - Responsive across all device sizes
  • Dark Theme - Modern dark interface optimized for crypto trading
  • Real-Time Updates - Live data with 15-60 second refresh intervals
  • Accessibility - Built with Radix UI for screen reader compatibility

πŸ” Security & Privacy

  • Secure Wallet Connections - Industry-standard wallet integration
  • Environment Variables - Sensitive data stored securely
  • Session Management - PostgreSQL-based session storage
  • API Rate Limiting - Responsible external API usage

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ”— Links

πŸ“ž Support

For support, email [email protected] or join our Discord community.


Built with ❀️ for the Oeconomia ecosystem

About

Comprehensive cryptocurrency dashboard for the Oeconomia ecosystem with real-time analytics, staking, governance, and gamified learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors