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 using here
-
make run
-
Run Unit Test for this project
make test
-
For access Swagger page click here
-
For show Album project in GitLab click here
-
Album REST API link production api.jlinux.ir/v1/docs/index.html