18.7. Assignments Node IV

Submission
You must submit assignments using git
Create Repo
  • Create an empty repo on bitbucket.org, gitlab.com, or github.com,
  • git push your local repo to the above remote repo.
  • For node assignments the line node_modules/must be in your .gitignore file.
Submit
By email to with:
  • The word 'submission <subjectname>' in the subject line
  • The url(s) of your repo(s) in the body

18.7.1. Assignment Node IV.0

Do the following:

  • Install Mongo on your computer.
  • Start the mongod, ie the Mongo server.
  • Create a school database via a class collection.

Hand in a screenshot of the terminal window from the last bullet point above.

18.7.2. Assignment Node IV.1

Create a users database. It must hold a user collection. The user documents must have a name, an email, and a phone. From the mongo client you must show:

  • insert several users
  • remove a user
  • reading all users
  • adding a new collection school
  • add a couple of schools
  • add a couple of students in the schools

The handin must be a txt file with all the mongo statements used to accomplish the above.