The project is a restful api service designed for a library management system
cd path_to_project
go build ./cmd/main.go
mainThe project uses Gin Web Framework, PostgreSQL Server, pq as postgres driver, sqlx as an extension of sql package from golang standard library, jwt-go as golang implementation of JSON Web Tokens, GoDotEnv and ** Viper**
Here's a brief intro about what a developer must do in order to start developing the project further:
git clone https://github.com/molel/library-app
cd path_to_project
go mod downloadBefore the start it would be good practice to set up configurations in config file. At this moment server and database port and other minor settings can be configured.
In this project swag is used to create Swagger API documentation. To open documentation check docs directory or send get request to your_host:/swagger/index.html