jmeekhof / gotodo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To Do Application

MongoDB

The database is Mongo. Create a local user that has readWrite access.

{
    user: 'test',
    pwd: passwordPrompt(),
    roles: [
        {
            role: 'readWrite',
            db: 'test'
        }
    ]
}

Go Server

The Go mid-tier needs to create a connection string in order to connect to the Mongo database. Set the appropriate environment variables on the mid-tier container.

MONGO_HOST=db
MONGO_USER=todo
MONGO_PASSWORD=xxxxxxxxx
MONGO_DATABASE=test

About


Languages

Language:JavaScript 49.3%Language:Go 34.2%Language:HTML 8.1%Language:CSS 4.4%Language:Dockerfile 3.5%Language:Kotlin 0.5%