Skip to content
Billcountry Mwaniki edited this page Aug 20, 2020 · 1 revision

The collection Users sits under the package users. It holds minimal amount of information about a user and defers authorization and authentication process to a third party.

The following is the structure of a User document:

  • UserId (primitive.ObjectId)
  • Name (string)
  • Email (string)
  • Status (uint8)
    • 0 Active
    • 1 Deleted
  • Created (time)

Related work

Clone this wiki locally