Question: Build a simple web server using EXPRESS. Your web server should serve 3 pages, at the following routes; / /contact /yourchoice Your routes should load

Build a simple web server using EXPRESS.

Your web server should serve 3 pages, at the following routes;

/ /contact /yourchoice

Your routes should load your templates (.html files) from a subfolder called "/views" (see 'sendFile' from the lecture).

Your website should include;

an image (logo perhaps? Check NOTE below, about images),

header (

?) for each page telling what the page is (Welcome, About, Contact)

Some content for that page (a paragraph, contact information, etc).

A link to each page, so I can navigate to every part of your site.

Your program should also include your Package.json which has your name, the lab # and all of the packages included for me to run it. Submit your .JS file to Blackboard NOTE** We have not learned how to serve local files from express yet. This means you need to link your image from an existing server. Example:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!