Skip to content

cuesoftinc/cuelabs-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

79 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

CueLABSβ„’ Platform

CueLABSβ„’ Logo

AI Innovation for Global Impact

A community-driven platform for developers to collaborate on AI and open-source projects while earning rewards through a gamified system.

License: MIT Next.js TypeScript Tailwind CSS

πŸš€ Features

  • 🎯 Bounty System: Participate in development bounties and earn Cue Currency rewards
  • πŸ“Š Project Management: Track and manage collaborative development projects
  • πŸ›’ Marketplace: Purchase items using earned Cue Currency
  • πŸ† Leaderboards: Community rankings and achievement system
  • πŸ‘₯ User Profiles: Comprehensive developer profiles with GitHub integration
  • πŸ” Secure Authentication: GitHub OAuth integration for seamless login
  • ⚑ Admin Dashboard: Administrative tools for managing bounties and submissions

πŸ› οΈ Tech Stack

  • Framework: Next.js 15 with App Router
  • Language: TypeScript 5
  • Styling: Tailwind CSS 4 with shadcn/ui components
  • State Management: Redux Toolkit + TanStack Query
  • Authentication: NextAuth.js with GitHub OAuth
  • Database: Airtable integration
  • Deployment: Vercel

πŸ“‹ Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v22 or higher)
  • npm or yarn
  • Git
  • GitHub account (for OAuth setup)
  • Airtable account (for database setup)

πŸš€ Quick Start

  1. Fork and clone the repository

    # Fork the repository on GitHub first, then clone your fork
    git clone https://github.com/YOUR_USERNAME/cuelabs-platform.git
    cd cuelabs-platform
    
    # Add the upstream repository
    git remote add upstream https://github.com/cuesoftinc/cuelabs-platform.git
  2. Install dependencies

    npm install
  3. Set up environment variables

    cp .env.example .env.local

    Fill in the required environment variables (see Environment Setup below)

  4. Start the development server

    npm run dev
  5. Open your browser Navigate to http://localhost:3000

βš™οΈ Environment Setup

1. Airtable Configuration

  1. Create a new Airtable base or use an existing one
  2. Set up the required tables (see Airtable Setup Guide)
  3. Get your API key from Airtable Account
  4. Get your Base ID from the Airtable API documentation

2. GitHub OAuth Setup

  1. Go to GitHub Settings > Developer settings > OAuth Apps
  2. Create a new OAuth App with:
    • Application name: CueLABSβ„’ Platform (or your preferred name)
    • Homepage URL: http://localhost:3000 (for development)
    • Authorization callback URL: http://localhost:3000/api/auth/callback/github
  3. Copy the Client ID and Client Secret

3. Environment Variables

Update your .env.local file with the following variables:

# Database
AIRTABLE_API_KEY=your_airtable_api_key
AIRTABLE_BASE_ID=your_airtable_base_id

# Authentication
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret

# Optional: Analytics
VERCEL_ANALYTICS_ID=your_vercel_analytics_id

πŸ“š Documentation

🀝 Contributing

We welcome contributions from the community! Please read our Contributing Guidelines to get started.

Development Workflow

  1. Fork the repository on GitHub
  2. Clone your fork locally and add upstream remote
  3. Create a feature branch (git checkout -b feature/amazing-feature)
  4. Make your changes following our coding standards
  5. Run tests and linting (npm run test && npm run lint)
  6. Commit your changes (git commit -m 'Add amazing feature')
  7. Push to your fork (git push origin feature/amazing-feature)
  8. Open a Pull Request from your fork to the upstream main branch

πŸ“ Available Scripts

npm run dev          # Start development server
npm run build        # Build for production
npm run start        # Start production server
npm run lint         # Run ESLint
npm run lint:fix     # Fix ESLint issues
npm run type-check   # Run TypeScript type checking

πŸ—οΈ Project Structure

src/
β”œβ”€β”€ app/                 # Next.js App Router
β”‚   β”œβ”€β”€ api/            # API routes
β”‚   β”œβ”€β”€ platform/       # Platform pages (auth, dashboard, admin)
β”‚   └── globals.css     # Global styles
β”œβ”€β”€ components/         # React components
β”‚   β”œβ”€β”€ ui/            # shadcn/ui base components
β”‚   └── custom/        # Application-specific components
β”œβ”€β”€ hooks/             # Custom React hooks
β”œβ”€β”€ lib/               # Utility functions
β”œβ”€β”€ store/             # Redux store and slices
└── types/             # TypeScript type definitions

πŸ”’ Security

If you discover a security vulnerability, please follow our Security Policy for responsible disclosure.

πŸ“„ License

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

🌟 Community

πŸ™ Acknowledgments


Made with ❀️ by the CueLABSβ„’ community

About

Cuesoft DevLabs Platform

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •