This project example Create, Read, Update, Delete using Go and MongoDB
cp .env.example .env
to get .env filego mod tidy
to get dependencies on this appdocker-compose up -d --build
to get docker image & make docker container mongodbgo 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