Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.14 KB

File metadata and controls

44 lines (37 loc) · 1.14 KB

Movie Server

Movie Server with MongoDB and Go and Gin and Yaml for enviroment

Steps

  • Clone the repo git clone https://github.com/en1tan/movie-server-go.git
  • Download deps go mod download
  • Download the swaggo binary swaggo
  • Generate Swagger UI swag init
  • Run Projet go run ./main.go
  • Swagger Docs http://localhost:5013/swagger/index.html

Project Structure

.
├── config
│   ├── config.go
│   ├── local.yaml
│   └── prod.yaml
├── controllers
│   └── movie-controller.go
├── database
│   └── database.go
├── go.mod
├── go.sum
├── main.go
├── models
│   └── movie-model.go
├── README.md
├── routes
│   ├── router.go
│   └── routes.go
├── services
│   └── movie-service.go
└── utils
    ├── errors.go
    └── validations.go

Screenshot

Screenshot