- Restore the packages
npm i
- Start the development environment
npm start
- Don't look at
server.js
. - Don't install any npm packages.
- Don't change
package.json
orpackage-lock.json
. - Don't import libraries from external sources (links).
- Don't change any of the configuration files.
To format your code run:
npm run format
GET /pet/kinds
: Returns a list of pet kinds.GET /pet/all
: Returns a list of all pets.GET /pet/:petId
: Returns a pet for a givenpetID
.POST /pet
: Creates a new pet.PUT /pet/:petId
: Updates an existing pet.DELETE /pet/:petId
: Deletes the specified pet.