Question: Write a node JS program to access mongo DB and perform the following actions. a. Create a collection named TRAINTKT on mongo DB b. Collect

Write a node JS program to access mongo DB and perform the following actions.
a.
Create a collection named TRAINTKT on mongo DB
b. Collect the basic traveler information for train ticket reservations and insert it into Mongo DB collection TRAINTKT.
Display all the reserved tickets from Mongo DB collection TRAINTKT.
Write a node JS program to access mongo DB and perform the following actions. a. Create a collection named TRAINTKT on mongo DB b. Collect the basic traveler information for train ticket reservations and insert it into Mongo DB collection TRAINTKT. Display all the reserved tickets from Mongo DB collection TRAINTKT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
