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

It is time to start working with MongoDB!

MongoDB configuration

API_GIN_DEBUG_MODE=trueMONGO_ADMIN=GGCTeamBatr
MONGO_ADMIN_PSWD=MySuperSecretPassword
MONGO_DB_USER=suuuper_user
MONGO_DB_PSWD=soop3r_U$eR_PSWD
MONGO_DB_NAME=good_news_db
type EnvVariables struct {
DebugMode bool
MongoDBName string
MongoDBURL string
}

db/ folder structure

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

Problems solver. Open Source Staff. MS in CS. https://batyr.io