A project for analyzing UI changes and user feedback using the Llama API.
LLAMA_HACKATHON/
├── assets/
├── Dashboard new/
├── Dashboard_old/
├── Frontend/
├── llama-backend/ # Python virtual environment for backend
├── app.py # Flask backend application
├── Code.py
├── Product roadmap.md
├── User Feedback Entries.csv
├── README.md # <--- This file
- Node.js (v18.0.0 or later)
- npm (v8.0.0 or later) or yarn (v1.22.0 or later)
- Python 3 (for backend)
- pip (for backend dependencies)
- Git (for version control)
-
Install dependencies:
cd Frontend npm install # or yarn install
-
Start the development server:
npm run dev # or yarn dev -
Open your browser at: http://localhost:3000
-
Create and activate the virtual environment:
python3 -m venv llama-backend source llama-backend/bin/activate -
Install dependencies:
pip install Flask requests python-dotenv
-
Create a
.envfile in the root with:FLASK_APP=app.py FLASK_ENV=development LLAMA_API_KEY=API_key LLAMA_API_ENDPOINT=https://api.llama.example.com/v1/analyze -
Run the backend:
flask run # or python app.py
-
Frontend:
- Next.js
- React
- TypeScript
- Tailwind CSS
- shadcn/ui
- Lucide React
-
Backend:
- Flask
- requests
- python-dotenv
-
Frontend:
Create a.env.localin theFrontenddirectory if needed:NEXT_PUBLIC_API_URL=http://localhost:3000/api -
Backend:
See.envexample above.
-
Dependencies not installing:
Deletenode_modulesandpackage-lock.json, then runnpm installagain. -
TypeScript build errors:
Runnpm run lintin the frontend. -
Backend environment issues:
Ensure your virtual environment is activated and.envis present.
If you encounter issues, open an issue on the GitHub repository or contact the development team.
