- '/api/cars' - get all cars
- '/api/cars/[id]' - get one car based on id
- '/api/products' - get all products
- '/api/products/[id]' - get one product based on id
- '/api/cars' - insert car
- '/api/products' - insert product
- '/api/cars/[id]' - update full car object based on id
- '/api/products/[id]' - update full product object based on id
- '/api/cars/[id]' - update partial car object based on id
- '/api/products/[id]' - update partial product object based on id
- '/api/cars/[id]' - delete car object based on id
- '/api/products/[id]' - delete product object based on id
- plate: varchar
- manufacture: varchar
- model: varchar
- image: varchar
- rentPerDay: integer
- capacity: integer
- description: varchar
- availableAt: timestamptz
- transmission: varchar
- available: boolean
- type: varchar
- year: integer
- name: varchar
- description: varchar
- price: integer