This project consists of a React frontend and a Python (FastAPI) backend.
You only need to follow these steps the first time you set up the project.
All commands are run from the project's root folder.
python -m venv venv
.\venv\Scripts\activate
source venv/bin/activate
cd ..
(Make sure your (venv) is active first and that you are in the project folder with the Python code)
cd project
pip install -r requirements.txt
cd tattoo-generator
npm install
cd ..
cd project
uvicorn main:app --reload
(Leave this terminal running. Your backend is now live at http://127.0.0.1:8000)
cd ..
cd tattoo-generator
npm run dev
(Leave this terminal running. Your app will open in a browser at http://localhost:5173)