DEV Community

Discussion on: Getting started with Sanity as a headless CMS

Collapse
 
chenge profile image
chenge

Looks nice and I run the studio, but not clear how to use it.

Does it provide JSON API? What's it?

Collapse
 
kmelve profile image
Knut Melvær

The Studio is just a Single Page Application built in React that talks with the APIs. We create a hosted JSON API when you run sanity init.

If you run sanity install @sanity/vision in your project folder it will install a plugin that lets you run GROQ in the studio. For frontends you can check out this example. You're very welcome to join our slack if you need more help 👌

Collapse
 
chenge profile image
chenge

I almost know sanity, thanks.

Fun project, I'll try more.