https://github.com/kapaak/kometa-sanity
CMS for Kometa Brno swimming club website.
https://github.com/kapaak/kometa-sanity
cms sanity
Last synced: 2 months ago
JSON representation
CMS for Kometa Brno swimming club website.
- Host: GitHub
- URL: https://github.com/kapaak/kometa-sanity
- Owner: Kapaak
- Created: 2024-05-18T18:20:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-02T15:08:35.000Z (about 1 year ago)
- Last Synced: 2025-06-08T05:45:03.982Z (about 1 year ago)
- Topics: cms, sanity
- Language: TypeScript
- Homepage:
- Size: 286 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kometa Brno - Swimming - Headless CMS
Content management system for Kometa Brno swimming club.
> Repository for the websites is located [here](https://github.com/Kapaak/kometa-web)
## 🚀 Project Structure
```text
├── components
├── customTypes
├── schemaTypes
├── src/
│ ├── constants.ts
│ ├── structure.ts
└── package.json
```
## ❗️ How to generate schema types
> [Sanity documentation](https://www.sanity.io/learn/course/typescripted-content/configuring-sanity-typegen-for-multiple-folder-projects)
- Generate schema.json by typing ```yarn extract-schema```.
- Create new types by typing ```yarn generate-fe-types```.
- Configurate path in ```sanity-typegen.json``` to link with FE folder.
- Generate FE types in the path configured in ```sanity-typegen.json``` and type ```yarn sanity typegen generate```
## 💡 Start the development
- Use yarn package manager.
- Development is in port 3333 and start it by typing ```yarn dev```.