Creating our API
Last updated
Last updated
If we look at the ExpressJS page on NPM, we can find a simple example snippet to help us get started:
If we copy this code and paste it into our index.ts
file, we can run it using the following command:
After running the command, visit in your browser. You should see a blank page displaying the text "Hello World".