Briefly describe what your project does.
- Python
- Node.js
-
Clone the repository:
git clone https://github.com/royalpinto007/artifyai.git cd artifyai
-
Navigate to the
api
directory:cd api
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # (On Windows use- `venv\Scripts\activate`)
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file in the root directory with the following content:AUTH_TOKEN=<your-auth-token>
Replace
<your-auth-token>
with your authentication token. -
Run the FastAPI backend:
uvicorn main:app --reload
This will start the FastAPI server locally at
http://localhost:8000
.
-
Navigate to the
client
directory:cd client
-
Install dependencies:
npm install
-
Start the React development server:
npm start
This will start the React app locally at
http://localhost:3000
.
- Open your browser and go to
http://localhost:3000
. - Enter a prompt in the input field and click on the "Generate" button to generate an image.
If you'd like to contribute to this project, please fork the repository and create a pull request. You can also open an issue to report bugs or suggest improvements.