Skip to content

Repository files navigation

Build Your First API EndPoint

This is my week 1 flyrank assignment create two api endpoints with JSON responses. I am doing that on the server side with Express.js, TypeScript, and can run in the browser. Run it with npx tsx index.ts. Executes JSON response with a get request. #Clone the repo #Configure typescript, how I ran it.

npx tsx index.ts

Then

curl http:localhost://localhost:3000.com/get

Output of First JSON Endpoint:

output_1_endpoint

Output of Second JSON Endpoint:

output_2

Let's go.

About

This is my week 1 flyrank assignment create two api endpoints with JSON responses. I am doing that on the server side with Express.js.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages