Skip to content

SA-Msweli/xionify

Repository files navigation

Xionify - Decentralized Freelance Ecosystem

A revolutionary blockchain-powered platform combining freelancing, hackathons, and professional development

License: MIT Built with Xion React Native Next.js

๐ŸŒŸ Overview

Xionify is a comprehensive decentralized ecosystem that addresses the pain points of traditional freelancing platforms by combining three core functionalities:

  • ๐Ÿ’ผ Freelancing Platform - Connect clients with skilled freelancers
  • ๐Ÿ† Hackathon Management - Complete hackathon lifecycle with prize escrow
  • ๐Ÿ“ˆ Professional Development - Reputation building through verified achievements

Built on Xion blockchain technology, Xionify eliminates Web3 complexity while providing transparent operations, instant payments, and significantly lower fees (5% vs industry standard 10-20%).

๐Ÿš€ Key Features

๐Ÿ” Seamless Web3 Experience

  • Account Abstraction: Email/social login without crypto wallet management
  • Gasless Transactions: Platform covers gas fees for smooth user experience
  • Instant Payments: Smart contract automation for milestone-based payments

๐Ÿ‘ฅ Five-Role Ecosystem

  • Freelancers: Build profiles, apply to projects, participate in hackathons
  • Clients: Post projects, manage sprint boards, hire talent
  • Organizers: Create and manage hackathons with prize distribution
  • Sponsors: Support hackathons and gift users with custom prizes
  • Administrators: Platform management and dispute resolution

๐ŸŽฏ Advanced Features

  • AI-Powered Matching: Intelligent freelancer-project matching with vector search
  • Sprint Boards: Visual project management with customizable workflows
  • zkTLS Verification: Private credential verification (LinkedIn, GitHub, education)
  • Reputation Building: Verified achievements through courses and hackathons
  • Marketplace: Buy/sell platform enhancements and custom tools

๐Ÿ—๏ธ System Architecture

The platform follows a modern microservices architecture with blockchain integration:

graph TB
    subgraph "Frontend Layer"
        A[React Native Mobile App]
        B[React Web Application]
    end
    
    subgraph "API Gateway Layer"
        C[API Gateway - Node.js]
        C1[Authentication Service]
        C2[Rate Limiting & Security]
        C3[Load Balancer]
    end
    
    subgraph ".NET Microservices"
        D[User Management Service]
        E[Project Management Service]
        F[Messaging Service]
        G[AI Matching Service]
        S[Hackathon Service]
        V[Job Board Service]
        W[Marketplace Service]
        X[Administration Service]
    end
    
    subgraph "Node.js Microservices"
        H[Blockchain Service]
        I[Payment Service]
        J[Escrow Service]
        K[zkTLS Verification Service]
        L[Penalty & Commission Service]
    end
    
    subgraph "Data Layer"
        DB1[(TiDB Serverless)]
        DB2[(Vector Database)]
        DB3[(Redis Cache)]
        DB4[IPFS Storage]
    end
    
    subgraph "Xion Blockchain Layer"
        SC[Smart Contracts]
        AA[Account Abstraction]
        PP[Payment Processing]
        RS[Reputation System]
    end
    
    subgraph "External Services"
        L1[RevenueCat]
        L2[OneSignal]
        L3[OpenAI API]
        L4[Social Media APIs]
    end
    
    %% Frontend to API Gateway
    A --> C
    B --> C
    
    %% API Gateway Processing
    C --> C1
    C --> C2
    C --> C3
    
    %% API Gateway to .NET Services
    C --> D
    C --> E
    C --> F
    C --> G
    C --> S
    C --> V
    C --> W
    C --> X
    
    %% API Gateway to Node.js Services
    C --> H
    C --> I
    C --> J
    C --> K
    C --> L
    
    %% .NET Services to Data Layer
    D --> DB1
    E --> DB1
    S --> DB1
    V --> DB1
    G --> DB2
    D --> DB3
    F --> DB4
    
    %% Node.js Services to Blockchain
    H --> SC
    I --> AA
    J --> PP
    K --> RS
    
    %% Services to External APIs
    I --> L1
    F --> L2
    G --> L3
    K --> L4
    
    %% Inter-service Communication
    E -.->|Project Matching| G
    S -.->|Prize Distribution| I
    V -.->|Payment Processing| J
    L -.->|Fee Calculation| I
Loading

Architecture Benefits

  • Scalability: Microservices architecture with horizontal scaling
  • Security: Blockchain-based immutable records and zkTLS verification
  • Performance: Vector search for AI matching, Redis caching, CDN integration
  • Reliability: Multi-layer redundancy and automated failover systems

๐Ÿ”ง Technology Stack

Frontend

  • Mobile: React Native 0.72+ with TypeScript
  • Web: React 18+ with TypeScript and Vite
  • State Management: Redux Toolkit with RTK Query
  • UI Components: Custom design system with accessibility compliance

Backend Microservices

  • .NET Services: Core business logic (User Management, Project Management, Hackathon, Job Board, AI Matching, Messaging, Marketplace, Administration)
  • Node.js Services: Cryptocurrency operations (Blockchain, Payment, Escrow, zkTLS Verification, Penalty & Commission)
  • API Gateway: Node.js with Express.js for routing and authentication
  • Database: TiDB Serverless for scalable SQL operations
  • Vector Search: Specialized vector database for AI matching
  • Cache: Redis for session management and performance
  • File Storage: IPFS for decentralized file storage

Blockchain

  • Platform: Xion blockchain with account abstraction
  • Smart Contracts: Solidity contracts for escrow, payments, reputation
  • Integration: Custom SDK for seamless blockchain operations
  • Verification: zkTLS for private credential verification

External Services

  • Payments: RevenueCat for mobile in-app purchases
  • Notifications: OneSignal for real-time messaging
  • AI/ML: OpenAI API for intelligent matching algorithms
  • Social: Integration with LinkedIn, GitHub, Twitter APIs

๐Ÿ“ฑ Core Functionality

Freelancing Platform

  • Project Management: Complete project lifecycle from posting to completion
  • Smart Contracts: Automated milestone payments with escrow protection
  • AI Matching: Intelligent freelancer-project matching based on skills and history
  • Communication: Integrated messaging with file sharing and real-time notifications

Hackathon System

  • Event Management: Complete hackathon creation and management tools
  • Prize Escrow: Automatic prize distribution through smart contracts
  • Judging System: Flexible judging criteria with social media integration
  • Achievements: Automated certificate and badge generation

Professional Development

  • Skill Verification: zkTLS-based credential verification from external sources
  • Course Integration: Track and verify online course completions
  • Reputation Building: Comprehensive scoring system based on verified achievements
  • Career Progression: Visual timeline of professional growth and accomplishments

๐Ÿ›ก๏ธ Security & Trust

Blockchain Security

  • Smart Contract Audits: Professional security audits before deployment
  • Immutable Records: All transactions and ratings permanently recorded
  • Dispute Resolution: Automated and manual dispute resolution mechanisms
  • Multi-signature: Critical operations require multiple confirmations

Data Protection

  • Zero-Knowledge Proofs: zkTLS verification without exposing private data
  • Encryption: End-to-end encryption for sensitive communications
  • Privacy Controls: Granular privacy settings for user profiles and data
  • GDPR Compliance: Full compliance with data protection regulations

Platform Integrity

  • Anti-Manipulation: Advanced algorithms to detect and prevent fake engagement
  • Identity Verification: Multi-level verification system for user authenticity
  • Quality Assurance: Automated and manual quality checks for projects and submissions
  • Community Moderation: Decentralized moderation with reputation-based voting

๐Ÿ’ฐ Economic Model

Low Platform Fees

  • 5% Commission: Significantly lower than industry standard (10-20%)
  • Dynamic Rates: Decreasing commission rates based on platform tenure
  • Transparent Pricing: No hidden fees, all costs displayed upfront
  • Instant Withdrawals: 24-hour payment processing with minimal fees

Penalty System

  • Accountability: Escrow-based penalty system for both clients and freelancers
  • Fair Evaluation: Penalties for unfair work rejection or late delivery
  • Transparent Rules: Clear penalty structure with dispute resolution options
  • Balance Protection: Sufficient balance requirements before job acceptance

Revenue Streams

  • Platform Commissions: Primary revenue from successful project completions
  • Marketplace Sales: Commission from platform enhancement sales
  • Premium Features: Optional premium subscriptions for advanced features
  • Hackathon Hosting: Revenue sharing from hackathon organization fees

๐Ÿš€ Getting Started

Prerequisites

  • Docker & Docker Compose (required)
  • Node.js 18+ (recommended for development)
  • Git (for cloning)

Cross-Platform Setup

Choose your preferred setup method:

Option 1: Node.js Setup Script (Recommended - Cross-Platform)

# Clone the repository
git clone <repository-url>
cd xionify

# Run the cross-platform setup script
node setup-development.js

Option 2: Platform-Specific Scripts

Windows:

setup-development.bat

Linux/macOS:

chmod +x setup-development.sh
./setup-development.sh

Mobile App Setup

After setting up the backend services, set up the mobile app:

cd mobile

# Cross-platform Node.js setup (recommended)
node setup-project.js

# Or use platform-specific scripts:
# Windows: setup-project.bat
# Linux/macOS: ./setup-project.sh

Services Available After Setup

Service URL Description
API Gateway http://localhost:3000 Main API endpoint
Payment Service http://localhost:3003 Xion blockchain payments
Verification Service http://localhost:3006 zkTLS credential verification
PostgreSQL localhost:5432 Database
Redis localhost:6379 Cache & sessions

๐Ÿ”ฎ Xion SDK Features Ready

  • Account Abstraction: Email/social login without private key management
  • Gasless Transactions: Platform-sponsored transaction fees
  • zkTLS Verification: Private credential verification (LinkedIn, GitHub, etc.)
  • Real Blockchain Integration: Built with CosmJS for Xion network

Mobile Development

cd mobile

# Start Metro bundler
npm start

# In a new terminal, run the app
npm run android  # Android
npm run ios      # iOS (macOS only)

Testing Xion SDK Integration

  1. Launch the mobile app
  2. Navigate to "Xion Setup" from the home screen
  3. Follow the setup wizard to:
    • Initialize Xion SDK
    • Create an abstracted account
    • Test gasless transactions

Development Commands

# View service logs
docker-compose logs -f [service-name]

# Stop all services
docker-compose down

# Restart services
docker-compose restart

# Rebuild and restart
docker-compose up -d --build

# Reset everything
docker-compose down -v

๐Ÿ”ง Troubleshooting

Setup Script Issues

If you encounter errors with the setup scripts:

  1. Test your environment first:

    node test-setup.js
  2. Common issues and solutions:

    Docker not running:

    # Start Docker Desktop (Windows/macOS)
    # Or start Docker daemon (Linux)
    sudo systemctl start docker

    Permission issues (Linux/macOS):

    sudo chmod +x setup-development.sh
    sudo chmod +x mobile/setup-project.sh

    Node.js version issues:

    # Install Node.js 18+ from nodejs.org
    # Or use nvm:
    nvm install 18
    nvm use 18

    Docker Compose not found:

    # Install Docker Compose
    # Or use the newer 'docker compose' command
  3. Manual setup if scripts fail:

    # Create directories
    mkdir -p backend/api-gateway/logs
    mkdir -p backend/payment-service/logs
    mkdir -p backend/verification-service/logs
    
    # Install dependencies manually
    cd backend/api-gateway && npm install
    cd ../payment-service && npm install
    cd ../verification-service && npm install
    cd ../../mobile && npm install
    
    # Start services
    docker-compose up -d --build

Service Health Issues

If services fail to start:

# Check service logs
docker-compose logs api-gateway
docker-compose logs payment-service
docker-compose logs verification-service

# Check service status
docker-compose ps

# Restart specific service
docker-compose restart [service-name]

Mobile App Issues

If mobile setup fails:

cd mobile

# Clear everything and retry
rm -rf node_modules package-lock.json
npm cache clean --force
npm install

# Fix React Native issues
npx react-native doctor

Development Workflow

  1. Smart Contract Development

    cd contracts
    npm run compile
    npm run test
    npm run deploy:testnet
  2. API Development

    cd backend
    npm run test
    npm run lint
    npm run build
  3. Frontend Development

    cd frontend
    npm run test
    npm run lint
    npm run build

๐Ÿ“Š Project Status

Current Phase: Development (July 2025 - September 2025)

  • Phase 1: Mobile MVP (July 25 - August 8) โœ…
  • Phase 2: Mobile Enhancement (August 8 - August 22) ๐Ÿ”„
  • Phase 3: Web Platform (Parallel development) ๐Ÿ”„
  • Phase 4: Integration & Completion (August 22 - September 15) โณ
  • Phase 5: Launch Preparation (September 15 - September 25) โณ

Key Milestones

  • Requirements specification completed
  • System architecture designed
  • Smart contract development started
  • Mobile MVP deployment
  • Web platform beta release
  • Mainnet smart contract deployment
  • Public launch

๐Ÿค Contributing

We welcome contributions from the community! Please read our Contributing Guidelines for details on:

  • Code of conduct
  • Development workflow
  • Pull request process
  • Issue reporting
  • Feature requests

Development Setup

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Submit a pull request

๐Ÿ“„ Documentation

Comprehensive documentation is available in the /docs directory:

Architecture Diagrams

The project includes detailed PlantUML diagrams:

  • System Overview: Complete system architecture
  • Hackathon System: Hackathon management workflow
  • Blockchain Integration: Smart contract interactions
  • User Role System: Multi-role functionality
  • Data Flow: Information flow between components

๐Ÿ”ฎ Roadmap

Q3 2025 (Current)

  • โœ… Platform development and testing
  • ๐Ÿ”„ Smart contract deployment on testnet
  • ๐Ÿ”„ Mobile and web application development
  • โณ Security audits and penetration testing

Q4 2025

  • ๐ŸŽฏ Public beta launch
  • ๐ŸŽฏ Community building and user onboarding
  • ๐ŸŽฏ First hackathon events
  • ๐ŸŽฏ Partnership development

Q1 2026

  • ๐ŸŽฏ Mainnet deployment
  • ๐ŸŽฏ Advanced AI matching features
  • ๐ŸŽฏ Mobile app store releases
  • ๐ŸŽฏ International expansion

Q2 2026

  • ๐ŸŽฏ Enterprise features
  • ๐ŸŽฏ Advanced analytics dashboard
  • ๐ŸŽฏ Third-party integrations
  • ๐ŸŽฏ Governance token launch

๐Ÿ“ž Support & Community

Get Help

Stay Connected

๐Ÿ“œ License

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

๐Ÿ™ Acknowledgments

  • Xion Blockchain: For providing the foundational blockchain infrastructure
  • Open Source Community: For the amazing tools and libraries that make this possible
  • Early Contributors: Thank you to all developers, testers, and community members
  • Advisors: Industry experts who provided guidance and feedback

Built with โค๏ธ by the Xionify Team

Empowering the future of decentralized work and collaboration

About

The future of work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published