Welcome aboard PHYDRA — an end-to-end, multi-language Cargo Stowage Management System built with love 💙 for the ISS Hackathon. Designed to smartly and efficiently organize cargo using powerful algorithms and a seamless interface!
- 🧠⚙️ C++ meets FastAPI — Experience lightning-fast cargo arrangement powered by C++ logic, wrapped beautifully with a Python FastAPI backend to offer both brains and brawn in one smooth API layer!
- 🌐 Modern Frontend — Interactive, responsive, and intuitive UI to visualize and interact with the system like a pro.
- 🐳 Dockerized Deployment — Ship it anywhere with Docker — portable, efficient, and reliable.
- 🛢️ Prisma (Python) — Elegant database modeling and ORM for seamless data flow and management.
PHYDRA/
├── .gitignore # Keeps your commits clean and tidy
├── Dockerfile # Backend Docker image blueprint
├── README.md # You're reading it 😊
├── backend/ # Backend logic and API magic
│ ├── csv_data/ # Sample input CSV files
│ ├── final_cpp_codes/ # 🚀 Core C++ algorithms for cargo stowage
│ ├── main.py # FastAPI app entry point
│ └── requirements.txt # Python dependencies
├── frontend/ # 🌐 Modern UI code
├── prisma/
│ └── schema.prisma # Prisma schema for database structureThe
.gitfile is too large, so it's recommended to clone only the latest version with depth.
git clone --depth 1 https://github.com/Mantissagithub/PHYDRA.git
cd PHYDRAsudo docker build -t phydra .sudo docker run -d -p 8000:8000 --name phydra-backend phydra🎯 Your backend is now live at: http://localhost:8000
Make sure your
MONGODB_URIis set in the.envfile.
Navigate to the prisma directory and create a .env file with the following content:
cd prisma
nano .envAdd the following sample data to the .env file:
MONGODB_URI=<your_mongob_uri>prisma generate🎉 Database schema is now synced and ready to go!
cd frontend/npm installnpm run dev✨ Access the frontend at: http://localhost:5173
- 🧠 High-performance stowage logic — ✅
- 🔌 Backend API — ✅
- 🎨 Frontend UI — ✅
- 🐳 Docker Deployment — ✅
- 🛢️ Prisma DB Integration — ✅
Crafted during the ISS Hackathon to solve real-world challenges with innovation, collaboration, and joy!
We believe in building not just solutions — but delightful experiences.