day-cohort-70 / rare-api-rare-bear-team-4

rare-api-rare-bear-team-4 created by GitHub Classroom
0 stars 0 forks source link

Backend refactor for post details #75

Closed Marceline-G-S closed 3 months ago

Marceline-G-S commented 3 months ago

Refactored API to allow for user searches.

Ticket:

72

What Changed:

Added LEFT to retrieve all posts function. Added SELECT query for retrieve one post function.

Testing Steps:

Test in postman. Get all posts at http://localhost:8088/posts Get one post at http://localhost:8088/posts/[postIDhere]