We built the frontend using React.
We chose React because we had basic knowledge of the framework.
For styling, we used Tailwind CSS.
- Navigate to the frontend directory:
cd angebotsfindung-frontend
- Install the necessary dependencies:
npm install
- Start the frontend:
npm start
The backend is built with Python.
We selected Python due to its vast array of frameworks, libraries, and overall ease of use.
To run the backend you need an OpenAI API key. You can get one here.
-
First, navigate to the backend directory:
cd angebotsfindung-backend
-
Create a .env file to store the API key:
touch .env
-
Add the following line to the .env file:
OPENAI_API_KEY=YOUR_API_KEY
-
Install the necessary dependencies:
pip install -r requirements.txt
-
Start the backend:
uvicorn main:app --reload
We choose the OpenAI GPT-4-Turbo model for our AI model.
We chose GPT-4-Turbo because it was the most recent model available to us.