We will develop a website for a company with tabs including Home, Users, and Add Contacts. This project is a continuation of the previous project. In Project#1, you used an in- memory data reservoir to store the user data. You will convert the in-memory data reservoir to a MongoDB/Mongoose database with one collection of users. CSC587 students are required to allow a user to complete CRUD operations for the database accessing; CSC418 students only need to complete Create and Read operations. For CSC587, you may use an additional tab for Edit, Delete.
In the first part of the project, you will begin with creating a MongoDB database using command line commands. You don’t need to write any code to complete this part once you install the MongoDB database management system.
In the second part of the project, you will allow a user to enter the name and the gender via a form. Then, the newly entered name and gender will be added to the database. If you click the Users tab, you should see the new user. If you restart the browser, the newly added user may not be lost. You will be able to access the database and list all users, if needed. You need to show the form page, the before, and the after page. On the after page, you will see an added user.



You need to show the screenshot of the IDE with the main routing statements shown in the editing area, and the process of adding a user is displayed in the Terminal area. Of course, we cannot tell if this was indeed retrieved from a database without checking the code in the homecontroller.js. So please show the screenshot of part of the homecontroller.js and the code. You may use any IDE to show the code.



We can tell that the Routing of /users and the actual code for accessing the MongoDB database. You also need to submit the compressed files including main.js, the homecontroller.js files.


You may include the screen shot of a Robo 3T or MongoDB Compass to show that you have created a database. You can include this screen shot in your Word document.
Delete node_modules from part II and compress all files with the name