Skip to content

Instantly share code, notes, and snippets.

@sandrabosk
Last active August 10, 2021 23:58
Show Gist options
  • Save sandrabosk/2057c041fa64b04b0e41411afd5a9f8b to your computer and use it in GitHub Desktop.
Save sandrabosk/2057c041fa64b04b0e41411afd5a9f8b to your computer and use it in GitHub Desktop.

Compass Intro

  1. Create database named ironhackers.
  2. Create a collection named developers.
  3. Create documents with your and your 2 classmates information. Each document should have:
    • name (type String),
    • age (type Number),
    • favoriteTeams (type Array). It should be array of strings.
    • favoriteMovie (type Object) with movie title (type String) and array of mainActors (this should be array of strings),
    • favoriteSongs (type Array). It should be array of objects where each object should have properties: singer (type String) and songTitle (type String).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment