This is a bot detector project with frontend and backend.
Make sure you have Docker and Docker Compose installed on your machine.
- Docker installation guide: https://docs.docker.com/get-docker/
- Docker Compose installation guide: https://docs.docker.com/compose/install/
- Run the database:
docker-compose up clickhouse- Run the migrations:
make migrate- Run the backend project:
docker-compose up backend- Run the frontend project:
docker-compose up frontendThe backend project will be available at the 10658 and the frontend project at the port 5173.
To run the backend tests use:
make testYou can use locust script to fill the database with fake data.
- Install locust:
pip install locust- Run locust:
locust --web-host=localhost- Open the interface and start the load test to fill the database.