# Headless CMS

Think of it like an asset library with an admin UI for nontechnical people that you can pull assets to on any frontend

Often also has a visual UI builder and basically becomes a selfhosted Wordpress/Wix

## Sanity

![An image](https://cdn.sanity.io/images/3do82whm/next/ba70e2ccf32f958597d1f5ad5d97a91643618340-1397x966.png?w=800\&h=553\&fit=clip\&auto=format)

* Free tier hosted, but only up to 5GB assets then $.5 GB/month
* You create the schema in the code by editng schemas folder
  * https://www.sanity.io/docs/schemas-and-forms
* Features
  * Automatic dashboard, login, add field with upload, asset optimization, and field groups
  * Preview object for dashboard
  * History of edits
  * For V2
*
  * Custom Validation
  * Can have multiple users and roles/permissioning for different users interacting with content
  * Supports nested schemas => Can have dynamic module content of varying length
  * Plugins: https://www.sanity.io/plugins
  * Workflows for approval
  * Custom code editing allowing custom pages/theming etc
  * Supports all the following schema types rich text editors and nested schema

## Other Options

Strapi

* Opensource/free, but must pay for hosting but could do on free render tier
* Storage can be AWS S3 at $.023 GB/month

Prism

* More a website builder than headless CMS

Contentful

* Super expensive
* Free tier only has max asset size of 50 MB unclear how many, then first paid tier is $300

Storyblock

* 250GB Traffic/month included (60/month for 250GB of additional traffic)
* More website builder than headless CMS
