/next.js-amplify-datastore

An example app using Amplify DataStore with Next.js for static site generation, pre-rendering, and SSR

Primary LanguageJavaScript

Next.js with Amplify DataStore

This project implements markdown rendering, build time data fetching, dynamic routes to pre-render based on data, SSR, fallback routes, revalidation, and client data fetching using Amplify DataStore and Next.js.

The back end for this project is implemented with Amplify Admin UI using the following data model:

Amplify Data Model

This project goes along with my live coding video here

To learn more about what is happening in this project, check out these files: pages/_app.js, pages/index.js, and pages/posts/[id].js.