Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 536 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 536 Bytes

API Routing

Given an app.js file, write two APIs that sends different strings as responses.

Refer to the below table for paths and responses,

Method Path Description
GET / Will send the text Home Page as response
GET /about Will send the text About Page as response

Export the express instance using default export syntax.

Use Common JS module syntax.