Practice Mongo DB with Go

Because why not.

Dependencies

  1. gin-gonic
  2. go mongodb driver

Architecture:

  • Repository Architecture

Notes to myself because I often forgot

To Start mongodb (ubuntu):

sudo systemctl start mongod

To Access mongodb (ubuntu):

mongo 

To access mongodb with credentials (ubuntu):

mongo -u username -p password

GitHub

View Github