webeli / example-frontend-next-js

An example of a Sanity powered frontend using Next.js

Home Page:https://sanity.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sanity + Next.js frontend example

DEMO 👉 https://sanity-example-frontend.now.sh

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

About

An example of a Sanity powered frontend using Next.js

https://sanity.io


Languages

Language:JavaScript 100.0%