Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 1 : MERN Stack - Student / Course System ( for SET students ) Create a comprehensive student / course system using the MERN
Exercise : MERN Stack StudentCourse System for SET students
Create a comprehensive studentcourse system using the MERN stack. Develop an Express REST API to expose CRUD functionalities for managing student and course information. Implement a React frontend to allow students to interact with the system and an admin user to manage student records.
Requirements:
Express REST API:
Implement CRUD functionalities for managing student and course information.
o Create a student model with the following fields:
Student number
Password
First name
Last name
Address
City
Phone number
Email
Program
Add two additional custom fields for studentspecific information, for example: favorite topic, favorite assignment, strongest technical skill obtained in this course, etc.
o Create a course model with the following fields:
Course code
Course name
Section
Semester
Students. This field can be defined as: students: type: Schema.Types.ObjectId, ref: 'Student'
Store the information in a MongoDB database. You may use the ref feature to establish references between student and course documents.
Implement authenticationauthorization capabilities using JWT and HTTPOnly cookies.
React Frontend:
o Develop a userfriendly UI using functional components, composition, and React Hooks.
o Provide a login functionality for students.
o Implement the following features for students:
o Add a course
o Update a course eg change section
o Drop a course
o List all courses taken by a student
o Implement the following features for admin user:
o Add a student
o List all students
o List all courses
o List all students taking a specific course
MVC Architecture:
Apply the MVC ModelViewController principles for the Express API to ensure a structured and maintainable codebase.
Design a nice and friendly UI
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started