Sanity + Next.js frontend example
DEMO
This is an example Sanity powered frontend for the movies database dataset using Next.js.
Prerequisites
You will need Node.js version 6.0 or greater installed on your system.
Setup
Get the code by either cloning this repository using git
> git clone https://github.com/sanity-io/example-frontend-next-js.git
... or downloading source code code as a zip archive.
Once downloaded, open the terminal in the project directory, and install dependencies with:
> npm install
Then start the example app with
> npm run dev
The app should now be up and running at http://localhost:3000