FSD Assignment Ques
FSD Assignment Ques
ASSIGNMENT QUESTIONS
1. Design a registration form for a college event with the following client-side validation
requirements using JavaScript:
(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:
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:
4. Delete a product document only if it has no pending orders in the orders collection
Configure and bundle your React frontend with Webpack, organizing code into reusable
modules.
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.
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.
*************************************