25-cxsj-final/README.md

42 lines
773 B
Markdown

# Algorithm Test Case Generation and Verification Platform
Deploy URL: https://pd-final.hissin.net/
## Project Structure
- `backend/`: FastAPI Python Backend
- `frontend/`: React Vite Frontend
## Prerequisites
- Python 3.8+
- Node.js 16+
## Setup & Run
### Quick Start with Docker (Recommended)
```bash
docker-compose up --build
```
Then access:
- **Frontend**: http://localhost
- **Backend API**: http://localhost:8000
### Manual Setup
### 1. Backend
```bash
cd backend
# Optional: Create virtual env
# python -m venv venv
# source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload
```
Backend will run at `http://localhost:8000`
### 2. Frontend
```bash
cd frontend
npm install
npm run dev
```
Frontend will run at `http://localhost:5173`