Backend-api is a dedicated solution for managing Hummingbot instances. It offers a robust backend API to streamline the deployment, management, and interaction with Hummingbot containers. This tool is essential for administrators and developers looking to efficiently handle various aspects of Hummingbot operations.
conda env create -f environment.yml
conda activate backend-api
Run the API using uvicorn with the following command:
uvicorn main:app --reload
For running the project using Docker, follow these steps:
Set up Environment Variables:
set_environment.sh
script to configure the necessary environment variables in the .env
file:
./set_environment.sh
Build and Run with Docker Compose:
After setting up the environment variables, use Docker Compose to build and run the project:
docker compose up --build
This command will build the Docker image and start the containers as defined in your docker-compose.yml
file.
This API is designed for:
To test these endpoints, you can use the Swagger UI or Redoc.
Contributions are welcome! For support or queries, please contact us on Discord.