Question: Create an Express Rest API which exposes CRUD functionalities for a student/course system. Create a student model that describes student information (student number, password, first
Create an Express Rest API which exposes CRUD functionalities for a student/course system. Create a student model that describes student information (student number, password, first name, last name, address, city, phone number, email, program). Provide also two other fields in this form that will be different for each student. For example, you may create fields for a favorite topic, favorite assignment, strongest technical skill obtained in this course, etc. Create also a course model that describes course information (course code, course name, section, semester). The information should be stored in a MongoDB database. You may use ref to allow a student document to make a reference to corresponding course document. Provide authentication/authorization capabilities using JWT or Passport. Create a React front end that allows students to login, add a course, update a course (for example change the section), drop a course, list all the courses taken by a student, list all students, list all courses, and list all students that are taking a given course. The app should also allow an admin user to add a student. Apply MVC principles for the Express API. Use functional components, composition, and React Hooks for the React front-end. Design a nice and friendly UI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
