UVicMartletplace / martletplace

Recreating FB Marketplace for Students - UVic SENG499 Capstone Project
1 stars 0 forks source link

Brent/backend66 review endpoints #202

Closed bmachado18 closed 3 days ago

bmachado18 commented 6 days ago

Description

Updated the testing framework to cypress. Added tests for TDD for each CRUD API for reviews. Implemented each endpoint, and ensured passing in CI. Note that the getReview endpoint is not in the API spec, but I included it anyway for full CRUD.

I am just waiting on the OpenAPI spec PR to be approved so I can progress from a draft PR. See https://github.com/matt-lebl/uvic-market-openapi/pull/18.

Closes #66

How to Test

docker-compose down -v docker-compose up --build -d review database datalayer docker exec -it martletplace_review bash npm test

Checklist