Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 901 Bytes

README.md

File metadata and controls

61 lines (43 loc) · 901 Bytes

feathers-index-api

This API is a complement to the Feathers mobile app. It is an index of different bird species and contains information on how to conserve bird populations.

GET Routes

Get all birds in the database:

  • /bird

Get one particular species of bird:

  • /bird/:id

Get all resources:

  • /resource

Get one particular resource only:

  • /resource/:id

Get all threats:

  • /threat

Get one particular threat only:

  • /threat/:id

Get all tips:

  • /tip

Get one particular tip only:

  • /tip/:id

Models

Bird (/bird)

  • id (primary key)
  • name
  • sageid
  • habitat
  • plumage
  • nest
  • diet
  • lifespan
  • conservationStatus
  • funFacts

Resource (/resource)

  • id (primary key)
  • name
  • url

Threat (/threat)

  • id (primary key)
  • name
  • description

Tip (/tip)

  • id (primary key)
  • name
  • description