Code for the React and Next web app, is under the app
directory.
Sanity studio schemas and config files are in the studio
directory.
-
Start Sanity locally
$ cd studio
$ npm install
$ sanity start
-
Start Next.js dev server
$ cd app
$ npm install
$ npm run dev
-
Build and serve Next.js application
$ cd app
$ npm install
$ npm run build
$ npm run start