# chaosAPI

ChaosAPI is the Backend API for the Test Drill functionality on Clinic.

# Build

To build the project, run the following command:

```
make build
```

# Run

Because chaosAPI rely on Clinic and chaos-svc, you can only check swagger documentation on local environment.

To run the project, run the following command in the root directory of the project:

```
go run main.go -c ./pkg/infra/example.yaml
```

Then you can access the swagger documentation on http://localhost:8080/swagger/index.html.

# Deployment

The project deploys in DBaaS Clinic and Clinic dev environment.
You can check it in Repo pingcap-inc/clinic-cd@chaos-api now.
