logger update and makefile created

This commit is contained in:
Ravi Prasad
2025-11-12 21:11:16 -06:00
parent d34321c345
commit 21a68d7ef0
5 changed files with 25 additions and 11 deletions
+8 -4
View File
@@ -1,6 +1,6 @@
# NBA_Go
### Firsttime bootstrap
## Firsttime bootstrap
```bash
# 1. build + run
@@ -18,19 +18,23 @@ curl http://localhost:8080/api/playeradvancedstats \
```
### Swagger Initiate Docs
## Swagger Initiate Docs
```bash
swag init -g main.go -o docs
```
### Test
## Test
```bash
go run loadtest.go -n 100 -c 10 -url "http://127.0.0.1:8080/api/playeradvancedstats?page=1&pageSize=20" -log results.log -key "xxx"
```
### Local Environment
## Local Environment
```bash
docker compose down
```
```bash
docker-compose -f docker-compose.local.yml up --build -d