Skip to content

Renvia-code/NAI

Repository files navigation

🌟 NEXUS - Neural Intelligence

Advanced Neural Intelligence Platform with Immersive 3D Interaction

Version React Express Three.js

🏗️ Project Structure

NEXUS v2/
├── 📁 backend/              # Express.js API Server
│   ├── src/
│   │   └── server.js        # Main server file with WebSocket
│   ├── package.json         # Backend dependencies
│   └── .env                 # Environment variables
├── 📁 frontend/             # React + Vite Frontend
│   ├── src/
│   │   ├── components/      # React components with NEXUS branding
│   │   │   ├── layout/      # Sidebar, Header, Layout
│   │   │   ├── 3d/          # Three.js Globe component
│   │   │   ├── ui/          # UI components library
│   │   │   ├── chat/        # Chat interface components
│   │   │   └── memory/      # Memory system components
│   │   ├── pages/           # Application pages (Home, Chats, Memory, Settings)
│   │   ├── assets/images/   # NEXUS triangular logo and branding
│   │   ├── hooks/           # Custom React hooks
│   │   ├── store/           # State management
│   │   ├── services/        # API services
│   │   └── utils/           # Utility functions
│   ├── package.json         # Frontend dependencies
│   └── vite.config.js       # Vite configuration
├── package.json             # Workspace configuration
└── quick-start.ps1          # Windows setup script

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • NPM 8+
  • Modern Browser with WebGL support

1️⃣ Automated Setup (Recommended)

# Windows PowerShell
.\quick-start.ps1

# Or use npm commands
npm run setup

2️⃣ Manual Setup

# Install all dependencies
npm run install:all

# Start development servers
npm run dev

3️⃣ Individual Services

# Backend only (API server on port 3001)
npm run dev:backend

# Frontend only (React app on port 3000)
npm run dev:frontend

🌐 Application URLs

Service URL Description
NEXUS Frontend http://localhost:3000 Main React application
Backend API http://localhost:3001 Express.js server
Health Check http://localhost:3001/api/health Server status

🎯 Core Features

NEXUS v2.0 Complete - Foundation & Branding

  • Frontend: React 18 + Vite + Tailwind CSS
  • Backend: Express.js + WebSocket + CORS
  • 3D Engine: Three.js with React Three Fiber
  • NEXUS Branding: Complete rebrand with triangular logo
  • UI Components: Professional component library
  • Responsive Design: Mobile-first approach

🌟 NEXUS Features

  • Neural Core Engine: Advanced AI integration architecture
  • 3D Globe Visualization: Interactive Earth interface
  • Memory Canvas: Neural memory organization system
  • Real-time Chat: WebSocket-powered communication
  • Immersive UI: Futuristic design with glow effects

🎨 NEXUS Design System

  • Triangular Logo: SVG with cyan glow effects and grid pattern
  • Neural Theme: High-tech aesthetic with wide letter spacing
  • Color Palette: Cyan accents (#00FFFF) with dark backgrounds
  • Typography: Futuristic font styling with neural terminology
  • Accessibility: WCAG-AA compliance maintained

🛠️ Tech Stack

Frontend

{
  "react": "^18.2.0",
  "@react-three/fiber": "^8.15.0",
  "@react-three/drei": "^9.88.0",
  "three": "^0.158.0",
  "framer-motion": "^10.16.0",
  "zustand": "^4.4.0",
  "tailwindcss": "^3.3.0"
}

Backend

{
  "express": "^4.18.0",
  "socket.io": "^4.7.0",
  "cors": "^2.8.0",
  "helmet": "^7.0.0",
  "dotenv": "^16.3.0"
}

⚙️ Configuration

Environment Variables

Create backend/.env:

# Server Configuration
NODE_ENV=development
PORT=3001
CORS_ORIGIN=http://localhost:3000

# API Keys (Future Integration)
OPENAI_API_KEY=your_openai_api_key_here
ELEVENLABS_API_KEY=your_elevenlabs_api_key_here

# Database (Future Integration)
DATABASE_URL=mongodb://localhost:27017/nexus-neural-intelligence

📋 Available Scripts

Command Description
npm run dev Start both frontend & backend
npm run dev:frontend Start NEXUS frontend only
npm run dev:backend Start backend API only
npm run build Build frontend for production
npm start Start production backend
npm run setup Run automated setup script
npm run install:all Install all dependencies

🎮 Development Workflow

1. Initialize Neural Link

npm run dev

2. Frontend Development

  • NEXUS app runs on http://localhost:3000
  • Hot reload enabled for instant updates
  • Proxy configured for seamless API calls
  • NEXUS branding and components ready

3. Backend Development

  • Express server runs on http://localhost:3001
  • Nodemon for auto-restart
  • WebSocket ready for real-time neural communication
  • CORS configured for NEXUS frontend

4. Build Neural Network

npm run build

🎯 NEXUS Development Roadmap

Phase 1: Neural Foundation

  • Project reorganization and cleanup
  • NEXUS branding implementation
  • Backend server with WebSocket
  • React frontend with routing
  • Component library architecture
  • Professional UI/UX design

Phase 2: Neural Core 🔄

  • Advanced 3D globe interactions
  • Neural memory system implementation
  • AI integration architecture
  • Real-time neural communication

Phase 3: Neural Intelligence 📋

  • OpenAI/Claude integration
  • Voice processing capabilities
  • Advanced memory algorithms
  • Predictive neural responses

Phase 4: Neural Evolution 🎨

  • 3D avatar integration
  • Emotional intelligence system
  • Advanced neural animations
  • Production deployment

🏆 NEXUS Achievements

  • Complete Monorepo Structure: Clean separation with zero broken imports
  • Professional Branding: Stunning triangular logo with glow effects
  • Enterprise-Ready: Production-quality code organization
  • Future-Ready: Architecture prepared for AI integration
  • Responsive Design: Optimized for all devices

🤝 Contributing

  1. Fork the NEXUS repository
  2. Create a neural feature branch
  3. Commit your enhancements
  4. Push to the branch
  5. Create a Pull Request

📞 Neural Support

  • Quick Start: Run .\quick-start.ps1 or npm run dev
  • Issues: Create a GitHub issue for neural debugging
  • Architecture: Well-documented codebase with clear structure

🎉 NEXUS Neural Intelligence Ready!

Your NEXUS platform is now optimized with:

  • Clean Architecture: Professional monorepo structure
  • Neural Branding: Complete NEXUS identity implementation
  • Production Ready: Enterprise-grade organization
  • Development Optimized: Streamlined workflow for AI integration

Next Steps: Run npm run dev and begin your neural intelligence journey! 🧠⚡

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published