-
Navigate to the
backenddirectory:cd backend -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
-
Create a
.envfile with your API keys:GENIUS_API_KEY=your_genius_api_key_here OPENAI_API_KEY=your_openai_api_key_here
-
Run the Flask application:
python app.py
-
Navigate to the
frontenddirectory:cd ../frontend -
Install the dependencies:
npm install
-
Start the React application:
npm start
The backend server should be running on http://localhost:5000 and the frontend on http://localhost:3000.
- The application will show a random image generated based on a song.
- Enter your guess for the song in the input field and submit.
- Use the hint button to get a hint (limited to one hint per image).
- Your score will be updated based on your correct guesses.