-
direct instructions:
npm run start -- driver goat ^v^v^v^v^v
-
instructions from file:
npm run start -- --file PizzaDeliveryInput.txt driver goat
-
start server:
npm run dev
-
GET requests:
-
POST requests:
-
POST endpoint:
localhost:3000/team/deliveries
-
POST body, json, one name:
{ "names":["shrek", "donkey"], "instructions":"^v^v^v^v^v" }
-
POST body, json, one name:
{ "names":["shrek", "donkey"], "instructions":"^v^v^v^v^v" }
-
-
run command:
npm test
-
view coverage:
opencoverage/index.html
after running tests