First time using typescript
npm ci
npm run lint
npm run start
# or
npm run compile
node dist/main.js
curl
examples:
curl -H 'Content-Type: application/json' localhost:3000/ip
curl -H 'Content-Type: application/json' localhost:3000/pizza
curl -XPOST -H 'Content-Type: application/json' -d '{"orderID":333,"toppings":["pepperoni","bacon"],"customerID":1,"size":"L","orderType":"phone","destination":"delivery"}' localhost:3000/pizza/