Skip to content

Implementation of a rest api named album with the help of gin framework

License

Notifications You must be signed in to change notification settings

MohammadrezaJavid/Album-REST-API

Repository files navigation

album

Implementation of a rest api named album with the help of gin framework

album rest api swagger ui

Note:

- Before running the api, first customize the.env file.
- In this project, two Dockerfiles are defined, one of which is for multi stage.

usage:

#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