Skip to content

treefarmstudio/fresh-sanity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Fresh + Sanity Demo

This is a demo using Deno's Fresh and Sanity.

It includes a skeleton Sanity Studio using v3 for you to create your own schemas.

Fresh

If you have a sanity project already copy the .env.template to a .env file then add your project id, dataset, and api version.

Start the fresh server:

cd fresh

deno task start

This will watch the project directory and restart as necessary.

Sanity

You can learn more about Sanity here.

Initialize a Sanity project:

cd sanity

npx sanity init

Start the Sanity Studio:

Add your own schemas to sanity/schemas and start the studio:

cd sanity

npx sanity dev

Releases

No releases published

Packages

No packages published