11_userstore/

directory
v0.0.0-...-baf0b24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2020 License: MIT

README

User Store

Store, retive and authenticate users. Also maintain sessions

Initial Setup

use userstore
db.createUser(
  {
    user: "dbuser",
    pwd: "password",
    roles: [ { role: "readWrite", db: "userstore" } ]
  }
)

Next exit the mongo session and connect with the auth credntials.

mongo -u "dbuser" -p "password" --authenticationDatabase "userstore"

This would allow to create and update collections in the userstore database.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL