Implementation of a rest api named album with the help of gin framework
- Before running the api, first customize the.env file.
- In this project, two Dockerfiles are defined, one of which is for multi stage.
#Build images
make build-images
#Use image by docker-compose.
make compose-up
#For down docker-compose.
make compose-down
#For show logs
make compose-logs
-
Run album REST API without docker
- First install mysql usinghere
-
make run
-
Run Unit Test for this project
maketest
-
For access Swagger page clickhere
-
For show Album project in GitLab clickhere
-
Album REST API link productionapi.jlinux.ir/v1/docs/index.html