User dashboard
Our user dashboard will say hello to our users, let them edit existing landing pages, and create new ones.
Exercises
These are the exercises that will get you there:
- Add a
createPage
mutation to your backend - Connect it to the form on your dashboard
- Add an
allPages
mutation to the backend - Use it to fetch pages
- List those pages on the dashboard
- Re-fetch the list of pages for the dashboard on page load
- Create a Gatsby page for each landing page in
gatsby-node.js