A turbo repo that includes everything you need to run your backend in Sanity and your frontend in Astro.
The monorepo is configured with apps as the primary hosted sites.
Packages are code that is shared across the sites.
.
├── apps
│ ├── site-astro
│ └── site-sanity
└── packages
├── content-models
├── sanity-astro-embeds
└── sanity-zod-types
Navigate to each folder's README.md
for more details.
See the Space Madness Docs for detailed instructions on installing and runnig your app.
-
export SANITY_STUDIO_PROJECT_ID=<sanity-id>
or
set SANITY_STUDIO_PROJECT_ID=<sanity-id>
-
turbo dev
Deploying is supported for any hosting platform that supports static site hosting.
turbo build --filter=site-space-madness-astro
/apps/site-astro/dist/
Deploying is supported for any hosting platform that supports static site hosting.
turbo build --filter=site-space-madness-sanity
/apps/site-sanity/dist/
Contributions are welcome.
If your code editor does not support Pretier out of the box, you can run npm run format
from the site-astro
directory before committing your changes.
Please make all pull requests to main
.