Intended to be used with CS2 Profile Stats extension, but can be used for basically anything.
- Install GoLang.
- Clone the repository:
git clone https://github.com/CS2-Profile-Stats/cs2-profilestats-api.git - Build:
go build -o api ./cmd/api
- Rename
.env.exampleto.envand enter your api keys
After setting up .env file, can be used as is with ./api or using Docker.
Runs on port :8080 by default.
Use Docker Compose: docker compose up -d --build