- Run
yarn
ornpm install
- Start the server:
yarn start
ornpm start
https://localhost:3002/products
https://localhost:3002/products?title_like=someTitle
https://localhost:3002/products?category_like=someCategory
https://localhost:3002/products/:id
For more details on querying the API, view the documentation here: https://github.com/typicode/json-server