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 of Second JSON Endpoint:
Let's go.