This is the code for the Custom Hook Tutorial for Lore.
First install the dependencies:
npm installJust like the Quickstart, this project uses json-server to provide a real API interface. Run this to command
to start the server:
npm run serverOnce the server is running, you should be able to navigate to http://localhost:1337 and see a list of API endpoints.
Finally, run this command to build the project and start the development server:
npm startOnce the project is built, open a web browser and visit http://localhost:3000.