Verseform is a web application to generate and tinker with AI-generated poems in higher dimensions.
-
Open the terminal and navigate to the backend folder.
cd backend
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
-
Run the FastAPI application:
uvicorn main:app --reload
-
Open the terminal and navigate to the frontend folder.
cd frontend
-
Install the required packages:
npm install
-
Start the React application:
npm run dev
Now, the frontend will be available at http://localhost:5173, and the backend at http://localhost:8000.