[go: up one dir, main page]

0% found this document useful (0 votes)
4 views1 page

Full Stack Lab Programs

Uploaded by

Dr. Neetu Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Full Stack Lab Programs

Uploaded by

Dr. Neetu Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

LIST OF PROGRAMS

FULL STACK DEVELOPMENT USING REACT AND NODEJS

1. To install Node.js, set up a React project using Create React App, and explore the core
concepts of React.
2. Create a Student component that takes name and grade as props. Use JSX to render
multiple Student components dynamically.
3. Write a React code to calculate sum of two integer numbers
4. Create a counter app with increment and decrement buttons using useState.
Implement a useEffect hook to display a message when the counter updates. Add a
feature to automatically reset the counter to zero after 10 seconds.
5. Create a simple form to enter the details and submit it.
6. Use ReactJS to Fetch and Display Data from API
7. To demonstrate routing in react.
8. Write a basic Express.js program that: Imports the Express module, Sets up a server
on port 3000, Defines a GET route at/ that responds with "Welcome to Express!"
9. Imagine You are working with a MongoDB collection named students that stores the
following fields: name, roll_no, department, and marks.
a) Explain each of the CRUD operations (Create, Read, Update, Delete) in MongoDB
with appropriate methods.
b) Write MongoDB queries to perform the following tasks:
Insert a new student record:
name: "Amit", roll_no: 101, department: "CSE", marks: 85
Retrieve all students from the CSE department.
Update the marks of the student with roll_no: 101 to 90.
Delete the record of the student with roll_no: 101.

You might also like