Question: 1. Create a folder called titan_backend to store your project files. 2. Inside that folder, run the npm-init command to create a new package.json 3.

1. Create a folder called titan_backend to store your project files.

2. Inside that folder, run the npm-init command to create a new package.json

3. Add a subdirectory under titan_backend named app

4. In your app folder, create a server.js file. a. In server.js, create a simple server that listens on port 3000.

5. We're going to start with handling one simple request right now.

a. A GET request to your server with a url of "index.html" should return "Welcome, to Titan Community Bank" and a success status code.

b. A GET request to anything other than "index.html" should return "Sorry, the page you are looking for is not her." with a page not found status code.

I made an attempt and did not see the "Welcome, to Titan Community Bank" message. Could you please do a step by step answer. The other answer provided on the forum was incorrect.

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!