Skip to content

JuniorFrontendAcademy/pet-store

Repository files navigation

Instructions

  • Restore the packages
npm i
  • Start the development environment
npm start

Restrictions

  • Don't look at server.js.
  • Don't install any npm packages.
  • Don't change package.json or package-lock.json.
  • Don't import libraries from external sources (links).
  • Don't change any of the configuration files.

Scripts

To format your code run:

npm run format

Endpoints

  • 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 given petID.
  • POST /pet: Creates a new pet.
  • PUT /pet/:petId: Updates an existing pet.
  • DELETE /pet/:petId: Deletes the specified pet.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages