CRUD RESTful API With Golang, Gin Gonic, and MongoDB

This project example Create, Read, Update, Delete using Go and MongoDB

Instructions

  1. cp .env.example .env to get .env file
  2. go mod tidy to get dependencies on this app
  3. docker-compose up -d --build to get docker image & make docker container mongodb
  4. go run main.go to run go

It runs on port 8000 by default.

note: please make sure that you have docker inside your PC/notebook