Overview
Overview — Sanity Platform
Section titled “Overview — Sanity Platform”Sanity is a programmable content platform designed to give developers and content teams a unified foundation for managing and delivering digital experiences.
We’re not going deep into how Sanity works in this documentation, you can access the official docs to get more information about that. We are going to make only a brief overview on how Sanity deals with data here and go on to how we use Sanity in this project.
Schema and data
Section titled “Schema and data”Sanity uses a non-SQL database and stores information in JSON objects. This information is distributed in documents, that belong to schema types, which we define in our project. These schema types act as blueprints for its children documents, as there is where we will define which fields each of them will contain.
Configuration
Section titled “Configuration”The Studio and the general project can be given custom configuration from the sanity.config.ts file.
This is where we sync our project ID to our studio and where we can install plugins, add custom actions to our documents, etc.
Deployment
Section titled “Deployment”Sanity runs deployed in Sanity’s own servers, so to be able to deploy our Studio we just need to create one from our Sanity management dashboard and use the command sanity deploy from our terminal.
This will deploy all changes to our Studio. When working with a team, make sure you have pulled every change from your git provider before deploying, our you could overwrite changes your team has already uploaded.