No description
Find a file
2025-10-19 05:02:20 -05:00
.github/workflows Add environment key to build task list. 2025-10-19 01:47:50 -05:00
rust-engine Implement file information processing queue system and Vector Graph preperation 2025-10-19 05:02:01 -05:00
src/features/gemini feat: added basic gemini functionality 2025-10-18 20:06:10 -05:00
web-app Patch allowedHosts 2025-10-19 01:34:32 -05:00
.dockerignore Prep build setup for stack 2025-10-18 15:26:44 -05:00
.env.example Added environment example boilerplate. 2025-10-18 14:43:31 -05:00
.gitignore Patched rust setup to be capable of building 2025-10-18 15:41:39 -05:00
docker-compose.prod.yml Add qdrant docker to server build file 2025-10-19 03:54:11 -05:00
docker-compose.yml Add and prepare rust worker management system for file information processing and knowledge base framework 2025-10-19 03:53:02 -05:00
README.md Prep build setup for stack 2025-10-18 15:26:44 -05:00

CodeRED-Astra 🚀

A hackathon-ready project with React frontend and Rust backend engine.

Quick Start

# 1. Setup environment
cp .env.example .env
# Edit .env with your credentials

# 2. Start everything with Docker
docker-compose up --build

# 3. Access your app
# Frontend: http://localhost
# API: http://localhost:8000
# Database Admin: http://127.0.0.1:8080

Development

Frontend (React + Vite):

cd web-app
npm install
npm run dev  # http://localhost:5173

Backend (Rust):

cd rust-engine  
cargo run    # http://localhost:8000

Architecture

  • Frontend: React 18 + Vite + Tailwind CSS
  • Backend: Rust + Warp + SQLx
  • Database: MySQL 8.0 + phpMyAdmin
  • API: RESTful endpoints with CORS enabled
  • Docker: Full containerization for easy deployment

Project Structure

├── web-app/           # React frontend
│   ├── src/
│   │   ├── App.jsx    # Main component
│   │   └── main.jsx   # Entry point
│   └── Dockerfile
├── rust-engine/       # Rust backend
│   ├── src/
│   │   └── main.rs    # API server
│   └── Dockerfile
├── docker-compose.yml # Full stack orchestration
└── .env.example      # Environment template

Team Workflow

  • Frontend devs: Work in web-app/src/, use /api/* for backend calls
  • Backend devs: Work in rust-engine/src/, add endpoints to main.rs
  • Database: Access phpMyAdmin at http://127.0.0.1:8080

Features

Hot reload for both frontend and backend
Automatic API proxying from React to Rust
Database connection with graceful fallback
CORS configured for cross-origin requests
Production-ready Docker containers
Health monitoring and status dashboard

Ready for your hackathon! See DEVELOPMENT.md for detailed setup instructions.