AutoAct Backend is a FastAPI application that serves as the backend for autoact chrome extension, its' from the same team as Kleo Network
- Clone the repository:
git clone https://github.com/Kleo-Network/autoact-backend.git
cd autoact-backend- Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`- Install the required dependencies:
pip install -r requirements.txt- Set up environment variables for MongoDB connection:
- We have given
.env.examplefile. Just copy that and rename it to.envand replace the variables inside with appropriate values.
To start the FastAPI application, run:
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reloadYou can now access the API at http://127.0.0.1:8000.