📰 Good News app. Backend in Golang. MongoDB setup using official Golang driver.

It is time to start working with MongoDB!

MongoDB configuration

type EnvVariables struct {
DebugMode bool
MongoDBName string
MongoDBURL string

db/ folder structure

> go get go.mongodb.org/mongo-driver/mongo

just a lazy human who is trying to optimize and automate every process in life. and yeah, on the side I am a serial entrepreneur and MS in CS. batyr.io

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store