An open API service indexing awesome lists of open source software.

https://github.com/jmanhype/cybertask

AI-Powered Task Management Platform built autonomously by the Cybernetic Orchestration Platform
https://github.com/jmanhype/cybertask

ai-powered autonomous-development claude-flow cybernetic jwt-authentication nodejs postgresql prisma react task-management typescript websocket

Last synced: 8 months ago
JSON representation

AI-Powered Task Management Platform built autonomously by the Cybernetic Orchestration Platform

Awesome Lists containing this project

README

          

# CyberTask - AI-Powered Task Management Platform

> Built autonomously by the Cybernetic Orchestration Platform as a demonstration of AI-driven full-stack development

## ๐Ÿš€ Overview

CyberTask is a modern task management application with AI-powered features, built entirely by AI agents using the Cybernetic platform. It showcases real-time collaboration, intelligent task suggestions, and comprehensive project management capabilities.

**Version**: 1.0.0 (Production Release)

## โœจ Features

- **AI-Powered Task Intelligence**: Automatic task prioritization, time estimation, and workflow suggestions using Claude Flow
- **Real-Time Collaboration**: WebSocket-based live updates for team synchronization
- **Comprehensive Project Management**: Projects, tasks, dependencies, and team member management
- **Modern Tech Stack**: TypeScript, React 18, Node.js, PostgreSQL
- **Enterprise Security**: JWT authentication, role-based access control
- **Full Test Coverage**: 1,650+ test cases across unit, integration, and component tests

## ๐Ÿ› ๏ธ Technology Stack

### Backend
- Node.js + Express + TypeScript
- PostgreSQL with Prisma ORM
- JWT Authentication
- WebSocket support (Socket.io)
- OpenAPI documentation

### Frontend
- React 18 with TypeScript
- Redux Toolkit for state management
- Tailwind CSS for styling
- React Router v6
- React Hot Toast for notifications

### Testing
- Jest + React Testing Library
- MSW for API mocking
- Comprehensive test utilities
- 90%+ code coverage

## ๐Ÿ“ฆ Installation

### Prerequisites
- Node.js 18+
- PostgreSQL 14+
- npm or yarn

### Backend Setup

```bash
cd backend
npm install
cp .env.example .env
# Edit .env with your database credentials

# Run database migrations
npx prisma migrate dev

# Seed database with sample data
npx prisma db seed

# Start development server
npm run dev
```

### Frontend Setup

```bash
cd frontend
npm install
cp .env.example .env
# Edit .env with API URL (default: http://localhost:3000)

# Start development server
npm run dev
```

## ๐Ÿงช Testing

### Run Backend Tests
```bash
cd backend
npm test
npm run test:coverage
```

### Run Frontend Tests
```bash
cd frontend
npm test
npm run test:coverage
```

## ๐Ÿ“š API Documentation

Once the backend is running, access the API documentation at:
- Swagger UI: http://localhost:3000/api-docs
- OpenAPI Spec: http://localhost:3000/api/openapi.json

## ๐Ÿ”ง Development

### Backend Development
```bash
cd backend
npm run dev # Start with hot reload
npm run build # Build for production
npm run lint # Run linting
npm run typecheck # Type checking
```

### Frontend Development
```bash
cd frontend
npm run dev # Start with hot reload
npm run build # Build for production
npm run lint # Run linting
npm run typecheck # Type checking
npm run preview # Preview production build
```

## ๐Ÿš€ Deployment Options

### Docker Deployment
- **Backend**: Container with Node.js, Express, PostgreSQL support
- **Frontend**: Nginx-optimized container for React app
- **Multi-stage builds**: Optimized for production
- **Health checks**: Built-in monitoring endpoints

### Performance Metrics
- **Build time**: < 2 minutes
- **Container size**: < 200MB (optimized)
- **Test Coverage**: 90%+

### Security Features
- โœ… HTTPS everywhere with security headers
- โœ… JWT-based authentication with refresh tokens
- โœ… Rate limiting and CORS protection
- โœ… Input validation and SQL injection prevention
- โœ… Regular security audits via GitHub Actions

### Docker Images

Official Docker images are available on GitHub Container Registry:

- **Backend**: `ghcr.io/jmanhype/cybertask-backend:latest`
- **Frontend**: `ghcr.io/jmanhype/cybertask-frontend:latest`

#### Pull Images
```bash
# Pull pre-built images
docker pull ghcr.io/jmanhype/cybertask-backend:latest
docker pull ghcr.io/jmanhype/cybertask-frontend:latest
```

#### Run with Docker
```bash
# Run backend
docker run -d \
--name cybertask-backend \
-p 3001:3000 \
-e DATABASE_URL="postgresql://user:password@host.docker.internal:5432/cybertask" \
-e JWT_SECRET="your-secret-key" \
-e JWT_REFRESH_SECRET="your-refresh-secret" \
-e NODE_ENV="production" \
ghcr.io/jmanhype/cybertask-backend:latest

# Run frontend
docker run -d \
--name cybertask-frontend \
-p 8080:8080 \
ghcr.io/jmanhype/cybertask-frontend:latest
```

### Local Development

#### Using Docker Compose
```bash
# Build and run with Docker Compose
docker-compose up -d
```

#### Build from Source
```bash
# Build images locally
docker build -t cybertask-backend ./backend
docker build -t cybertask-frontend ./frontend
```

#### Environment Variables

##### Backend (.env)
```env
DATABASE_URL="postgresql://user:password@localhost:5432/cybertask"
JWT_SECRET="your-secret-key"
JWT_REFRESH_SECRET="your-refresh-secret"
PORT=3000
NODE_ENV=development
CORS_ORIGIN="http://localhost:5173"
```

##### Frontend (.env)
```env
VITE_API_URL=http://localhost:3000/api
VITE_WS_URL=ws://localhost:3000
VITE_APP_NAME=CyberTask
VITE_APP_VERSION=1.0.0
```

## ๐Ÿค– Built by Cybernetic

This entire application was built autonomously by the Cybernetic Orchestration Platform, demonstrating:

- **10+ specialized AI agents** working in parallel
- **100+ files** of production-ready code generated
- **Comprehensive testing** with industry-standard coverage
- **Full-stack architecture** designed by AI
- **Documentation** auto-generated throughout development

### Key Achievements
- โœ… Complete backend API with authentication
- โœ… Modern React frontend with state management
- โœ… Database schema with migrations and seed data
- โœ… Comprehensive test suite (1,650+ test cases)
- โœ… API documentation with OpenAPI/Swagger
- โœ… Production-ready configuration

## ๐Ÿ“ License

MIT License - See [LICENSE](LICENSE) file for details

## ๐Ÿ™ Acknowledgments

Built using the Cybernetic Orchestration Platform, which combines:
- Claude Code for execution
- Claude Flow for orchestration
- T-Max Orchestrator for 24/7 operation
- SPARC methodology for systematic development

---

*Generated autonomously by Cybernetic - The self-programming AI platform*