Image description

PROGRAD PROJECT BUILDER | NODE | QUIZ - STAGE - 1 - MONGO DB CRUD

Learning Goals

In this exercise, you will learn to work with json and file system in node:

  • Mongo DB
  • Collections
  • Documents

Getting started

  1. Fork this repo
  2. Clone this repo

Whenever you create a first significant change, you should make your first commit.

  1. Follow these guidelines to add, commit and push changes.

In the end of this document, you will find guidelines on how to submit the exercise.

Instructions

Your task is perform crud operations.

PROGRESSION 1 | GETTING CONNECTED

Connect to mongo db client from node js.

PROGRESSION 2 | CREATE DATABASE & COLLECTION

Create a database called quiz and create the following collections

  • questions
  • options
  • answers

PROGRESSION 3 | INSERT

Insert data values into the collections. (Minimum 5 documents and max 15).

PROGRESSION 4 | FIND

  • Display the data from the database.
  • Select a particular question from collection

PROGRESSION 5 | UPDATE

Your task is to update the questions.

PROGRESSION 6 | DELETE

Delete the document from the collections

Submission

If you didn't add, commit and push the changes you made, this is the last call. 😄

please share your github links with your Mentors. Your Mentor's will check up your work and provide feedback.

Summary

If you managed to do it, good job! 🏆

We are proud of you!

Happy Coding ProGrad ❤️!