Skip to content

Selahattinn/bitaksi-matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitaksi-Matching

For The General Project

├─ 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

⚡️ Quick start

First of all, download and install Go. :)

For Auth

Auth middleware controlls jwt validation not expiration.

Dont forget to add your signing_secret in config.yml

For Documentation Creation

make swagger

When entering JWT token, Please write this format:

bearer token

Exp Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRoZW50aWNhdGVkIjoidHJ1ZSJ9.48-Xzft-6-IXeAklWeAWq5Et4ffzP-8I5Wbjr3ZCoOo

For build

make build

For Test

make test

For run

After Build

./bin/bitaksi-matching

Releases

No releases published

Packages

No packages published