Skip to content

SailendraRapeti/API-Routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published