Pets-without-names / Jax-Pet-Names

This project is a collaboration designed to create a pet naming web application.
MIT License
3 stars 2 forks source link

Refactor server API and add unit tests #59

Closed murjax closed 7 months ago

murjax commented 7 months ago
  1. Add server unit tests using the Jest framework.
  2. Split the queries handler to separate Knex/SQL query logic from Express request/response logic. The objective is to use the Repository Pattern for interacting with the database (although this implementation isn't pure). This article does a good job explaining the Repository Pattern.
  3. Improve error handling in both queries and request controller.

Closes #52

render[bot] commented 7 months ago

Your Render PR Server URL is https://jax-pet-names-express-pr-59.onrender.com.

Follow its progress at https://dashboard.render.com/web/srv-clf9padadtrs73fd66tg.

render[bot] commented 7 months ago

Your Render PR Server URL is https://jax-pet-names-react-pr-59.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-clgdpufjc5ks739484bg.