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