We will develop a website for a company with tabs including Home, Users, and Add Contacts. There are two parts for this project:
CSC418 students are required to complete the form operations which allow a user to add a new contact and display the new list of users. CSC587 students need to display the form, add a new user, and delete a user.
In the first part of the project, you will begin with a simple Node & Express project. What you need to do is to set up the Main App, the Route to display the index page with any name you like using your preferred View Engine in addition to HTML. The main requirement is to be able to show the current time and date dynamically. If you refresh the webpage, the date and time should change. Following is an example:
You need to show the screen shots of the IDE, e.g., Visual Studio Code, and the Browser. The layout.ejs provides the format of all webpages with Top Navigation, Navigation, Body, and the Footer divisions.
The layout.ejs provides the format of all webpages with Top Navigation, Navigation, Body, and the Footer divisions.
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 in-memory data reservoir. If you click the Users tab, you should see the new user. If you restart the browser, the newly added user may be lost. It is due to the nature of in-memory data reservoir.
You need to show:
On the after page, you will see an added user. For showing the deletion of a user, you show the before, the execution of the delete form, and the after.
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.
<ABCD_project1-Part1>.zip.<ABCD_project1-part2>.zip.<ABCD_project1>.docx. Here ABCD is the first four letters of your last name. If I submit my project, I will call it Ngo_project1-Part1.zip, Ngo_project2-Part2.zip, and Ngo_project1.docx.