👨💻 Reto sobre gestionar productos.
| EndPoint | Method | Body | Response | status |
|---|---|---|---|---|
| ------------ | ---------- | ------- | -------------- | ---------- |
| /products | GET | N/A | [{}, {}, ...] | 200 |
| ------------ | ---------- | ------- | -------------- | ---------- |
| /products/:id | GET | N/A | {} | 200 |
| ------------ | ---------- | ------- | -------------- | ---------- |
| /products/categories | GET | N/A | [{}, {}, ...] | 200 |
| ------------ | ---------- | ------- | -------------- | ---------- |
| /products | POST | {...} | {...} | 201 |
| ------------ | ---------- | ------- | -------------- | ---------- |
| /products/:id | PUT | { } | { } | 201 |
| ------------ | ---------- | ------- | -------------- | ---------- |
| /products/:id | PATCH | { } | { } | 201 |
| ------------ | ---------- | ------- | -------------- | ---------- |
| /products/:id | DELETE | N/A | true / false | 201 |
| ------------ | ---------- | ------- | -------------- | ---------- |
Espero sirva de reto.
Saludos

