├─ bin //The folder where the binary files was created
├─ cmd //The code that started it all
├─ config.yml //Config file for backend
├─ go.mod //3rd party libraries
├─ go.sum //Sums and versions of 3rd party libraries
├─ makefile //MakeFile for build,test and version control
└─ internal
├─ api //Api Layer for project
├─ model //Models for every type of object
├─ server //Server Layer for all aplication.
├─ service //Service Layer
│ ├─ match //Service Layer for match
└─ version //Version control&save for git
└─ docs //Auto Generated Documentation
First of all, download and install Go. :)
Auth middleware controlls jwt validation not expiration.
Dont forget to add your signing_secret
in config.yml
make swagger
When entering JWT token, Please write this format:
bearer token
Exp Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRoZW50aWNhdGVkIjoidHJ1ZSJ9.48-Xzft-6-IXeAklWeAWq5Et4ffzP-8I5Wbjr3ZCoOo
make build
make test
After Build
./bin/bitaksi-matching