Description: CrisisWeave is an early-stage prototype designed to help communities respond more effectively during emergencies. The goal is to connect people, resources, and verified information in one place, reducing confusion and response delays. Although this version is still a basic functional prototype, the long-term vision is to create a scalable platform that can support real-world crisis coordination and have meaningful impact for local communities, organizations, and responders. This is a full-stack application with a FastAPI backend and a Flutter frontend.
How to Run the Project:
Backend (FastAPI): 1. Open a terminal. 2. Go to the backend folder (example): cd /your/path/to/repo/backend 3. Activate your virtual environment (example): source /your/path/to/venv/bin/activate 4. Create a file named “.env” inside the backend folder and add: OPENAI_API_KEY= OPENAI_MODEL= 5. Start the backend server: python -m uvicorn main:app –host 0.0.0.0 –port 8000 –reload 6. Confirm it is running at: http://127.0.0.1:8000
Frontend (Flutter): 1. Make sure Flutter is installed. 2. iOS development requires macOS, Xcode, and an installed iOS Simulator. 3. Ensure at least one simulator is available in Xcode Settings > Platforms. 4. Go to: frontend/lghacksapp/lib 5. Run the app: flutter run
Important Notes: • The backend server must be running before launching the frontend. • Update directory paths based on where the project and virtual environment are stored. • The .env file should never be pushed to GitHub. • OPENAI_API_KEY must be a valid OpenAI key. • OPENAI_MODEL should match the model being used.