Skip to content

susimsek/golang-echo-mongodb-rest-api-example

Repository files navigation

Golang Mongodb Rest Api Example Using Echo

Golang Mongodb Rest Api Example Using Echo

Golang Mongodb Rest Api Example Using Echo

Prerequisites

  • Golang 1.16.x
  • Docker 19.03+
  • Docker Compose 1.25+

Installation

docker-compose up -d 

Used Technologies

  • Golang 1.16.3
  • Mongodb 4.4
  • Echo
  • Content Negotiation Support(Xml,Json Support)
  • Pagination Support
  • Mongo Driver
  • Mongo Go Pagination
  • Echo Swagger
  • Swag
  • Validator
  • Air
  • Template
  • Sys
  • Go Urn
  • Go Colorable
  • Universal Translator

Golang Swagger

You can access the Golang Swagger from the following url.

http://localhost:9000/api

Golang Swagger

Development

Please note that it requires Go 1.16+ since I use go mod to manage dependencies.

# 1. install dependencies
go mod download

# 2. For less typing, you could add alias air='~/.air' to your .bashrc or .zshrc.
alias air='~/.air'

# 3. run it
air

About

Golang Mongodb Rest Api Example Using Echo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published