MERN
Course Code BDSL456C
CIE Marks 50
Teaching Hours/Week (L:T:P: S) 0:0:2:0
SEE Marks 50
Credits 01
Exam Hours 02
Examination type (SEE) Practical
Experiments
1 a. Using MongoDB, create a collection called transactions in database usermanaged (drop if it already exists)
and bulk load the data from a json file, transactions.json
b. Upsert the record from the new file called transactions_upsert.json in Mongodb.
2 Query MongoDB with Conditions: [Create appropriate collection with necessary documents to answer the query]
a. Find any record where Name is Somu
b. Find any record where total payment amount (Payment.Total) is 600.
c. Find any record where price (Transaction.price) is between 300 to 500.
d. Calculate the total transaction amount by adding up Payment.Total in all records.
3 a. Write a program to check request header for cookies.
b. write node.js program to print the a car object properties, delete the second property and get length of
the object.
4 a. Read the data of a student containing usn, name, sem, year_of_admission from node js and store it in the mongodb
b. For a partial name given in node js, search all the names from mongodb student documents created in
Question(a)
5 Implement all CRUD operations on a File System using Node JS
6 Develop the application that sends fruit name and price data from client side to Node.js server using Ajax
7 Develop an authentication mechanism with email_id and password using HTML and Express JS (POST method)
8 a. Develop two routes: find_prime_100 and find_cube_100 which prints prime numbers less than 100 and cubes less than 100 using Express JS routing mechanism
9 a. Develop a React code to build a simple search filter functionality to display a filtered list based on the search query entered by the user.
10 a. Develop a React code to collect data from rest API.
Suggested Learning Resources:
● Vasan SubramanianPro MERN Stack: Full Stack Web App Development with Mongo, Express, React, and Node, Apress; 1st ed. edition (1 April 2017)
● . Eddy Wilson Iriarte Koroliova,MERN Quick Start Guide, Packt Publishing (31 May 2018),
● https://www.geeksforgeeks.org/mern-stack/
● https://blog.logrocket.com/mern-stack-tutorial/
0 Comments