Code for the Hands-on Web Dev newsletter project to fetch from a Next.js endpoint
AGPL-3.0 License
This code supports the "Next.js Data Fetching" series from the Hands-on Web Dev newsletter.
To try the first workshop in this series, start here!
This series builds on the React Components series. If you haven't looked at that series, you might want to start there instead.
The work from this series will be used in the following series: AI Style Generator, where you will use the OpenAI Node SDK to generate styles for the quote fetched in this series.
npm install
to install the dependenciesnpm run dev
to start the dev serverlocalhost:3000
from a web browserYou should see a page that looks like this: