A strategic farming simulation game using real NASA climate data.
- Node.js: Version 20 or higher
- Python: Version 3.13 or compatible
- Navigate to the Backend directory:
cd Backend- Create a Python virtual environment:
python -m venv venv- Activate the virtual environment:
source venv/bin/activate- Install Python dependencies:
pip install -r requirements.txt- Create a
.envfile in the Backend directory with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here- Start the backend server:
./venv/bin/python -m uvicorn main:app --reloadThe backend API will be available at http://localhost:8000
- Navigate to the Frontend directory:
cd frontend- Install dependencies:
npm install- Start the development server:
npm run devThe frontend will be available at http://localhost:5173 (or the port specified by Vite)
To run the complete application:
Terminal 1 (Backend):
cd Backend
source venv/bin/activate
./venv/bin/python -m uvicorn main:app --reloadTerminal 2 (Frontend):
cd frontend
npm run dev