...

/

Exercise: Create a New User

Exercise: Create a New User

Practice creating a document in MongoDB collection through the Go API.

We'll cover the following...

Problem statement

Creating a document is a fundamental operation while working on a MongoDB project. This exercise tests your knowledge of creating a new document.

Task

We have a database, shive-api, with a collection, user. Each document ...