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