maxlemieux / quokka

Project 3 "Quokka"
MIT License
0 stars 2 forks source link

Must have both GET and POST routes for retrieving and adding new data. #7

Closed maxlemieux closed 4 years ago

maxlemieux commented 4 years ago

Standard Mongoose CRUD code in Express, along with ORM interfaces in src/utils/API.js if needed.

maxlemieux commented 4 years ago

From looking at the API code in the boilerplate - it appears that we can detail how this fits the criteria, and close the issue.

maxlemieux commented 4 years ago

We have GET routes for finding recent plants, and searching plants by name. These routes act as a proxy for requests to Trefle's authenticated API endpoints.

We have a POST route to save a favorite plant from the search results, to our local database