corypride / diamonddogs

Project for LaunchCodes' Liftoff Program
MIT License
2 stars 3 forks source link

Api base #18

Closed collinaustin closed 7 months ago

collinaustin commented 7 months ago

Summary

The ApiController found inside api-base has routes to display the following information from the Perenual api:

  1. Plant frequently asked questions. Search by "tags" which are just about anything including common names, indoor/outdoor, garden, flower, etc. Could be used for a feature upon itself.
  2. Combined information from plant list and plant care for a specific plant. This will provide the value for common name, care information, growth cycle, and link to photo.
  3. Sort list of plants by growth cycle.
  4. Sort list of plants by watering needs.
  5. Sort list of plants by sunlight needs.
  6. Return a list of the first 30 plants in the database.
  7. Return a list of plants of the first 3 pages in the database.
  8. Return plant list information for a single plant sorted by species id.

Concerns/Questions

I haven't tested this with our authorization. We also need to get this working with a local database.