First Request
Check if everything has been setup correctly.
Build Project
yarn build
Start Server
yarn start
Send Request
Make a GET
request to http://localhost:3000/api/example
however you please, via cURL
, postman
or the browser even, what ever works.
curl http://localhost:3000/api/example -X GET
200 OK
{ ["data-1", "data-2", "data-3"] }
Next Steps
Lets look a bit closer at services in the next section.