0% found this document useful (0 votes)
11 views3 pages

FSD Assignment Ques

Uploaded by

venkat Mohan
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)
11 views3 pages

FSD Assignment Ques

Uploaded by

venkat Mohan
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/ 3

SONA COLLEGE OF TECHNOLOGY

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

U19CS602- FULL STACK DEVELOPMENT

ASSIGNMENT QUESTIONS

1. Design a registration form for a college event with the following client-side validation
requirements using JavaScript:

 Validate that the Name field is not empty.

 Ensure the Email field is in a valid email format.

 The Phone Number must be exactly 10 digits.

 The Password must be at least 6 characters long.

 Display inline error messages next to each field if validation fails.

 Prevent form submission if any field is invalid.

 On successful validation, show a message like "Registration Successful".

2. Create a React application that fulfils the following requirements:

 Display student profiles dynamically using components.

 Pass student data (name, email, course) as props to display them.

 Use a stateless functional component to render each profile card.

 Apply styling using CSS modules or inline styles.

 (Bonus): Add a form to allow users to add new student profiles by updating the state.

3. Create a Book Inventory Management API using Node.js and Express that provides the
following functionalities:

 Create a new book entry using POST /books

 Retrieve a list of all books using GET /books

 Retrieve a specific book by ID using GET /books/:id

 Update book details using PUT /books/:id

 Delete a book using DELETE /books/:id

Your application should use proper routing, JSON for data exchange, and modular code structure.

4. Create a MongoDB database for an online store that meets the following requirements:
 Define three collections—products, customers, and orders—with these fields:

o products: name, description, price, category, stock, ratings

o customers: name, email, address, phone

o orders: customerId, productIds, orderDate, totalAmount, status

 Implement operations to:

1. Insert multiple product and customer documents

2. Retrieve products by category or by a specified price range

3. Update the stock field of a product whenever an order is placed

4. Delete a product document only if it has no pending orders in the orders collection

 Use MongoDB features to:

1. Write queries with comparison and logical operators

2. Apply projections to return only selected fields

3. Create indexes on products.category and customers.email for faster lookups

4. Build an aggregation pipeline that outputs:

 The top 5 most-ordered products

 A monthly sales report (total orders and revenue per month)

5. Create a full-stack Employee Management Dashboard (React + Node.js + MongoDB) that


satisfies all of the following requirements:

 Configure and bundle your React frontend with Webpack, organizing code into reusable
modules.

 Use React Router to navigate three routes—/employees, /employees/add, and /login—and


include a React-Bootstrap navigation bar.

 Display employees in a paginated, filterable, searchable table; implement department/role


filters and a search bar via a MongoDB aggregation pipeline, and show summary cards with
total counts using aggregation.

 Provide “Add Employee” and “Edit Employee” forms with inline validation, wired to Create
and Update REST APIs; include a Delete button on each row that opens a confirmation modal
before calling the Delete API, and display success or error alerts for all operations.

 Manage component state with React hooks, lifting state as needed.

 Implement Google Sign-In for authentication, protect the /employee’s routes with a
Higher-Order Component that checks session validity on the server, and persist sessions.

 Configure basic server-side rendering for the initial load of the employee list page.
 Build the backend API with Express—modularize routes and middleware (JSON parsing,
logging), store employee records in MongoDB with appropriate indexes for fast lookups, and
implement pagination and filtering in your MongoDB queries and aggregation.

*************************************

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy