00:00 || 00:30 yarn start inside astroBackEnd directory.
00:30 || 01:00 yarn add astro-sanity in frontEnd Directory.
01:00 || 01:55 setup astro.config.mjs in frontEnd directory.
02:00 || 03:22 Adding demo function using groq Query
Note it will not work , please watch the next video , wehre we add the schema types is now empty in the back-end so it is empty for now , Connection Testing will be done in video 5 when adding a demo schema type. In the next video we will be adding the schema types to test the connection between sanity and astro .
Demo :
https://andgoedublog.netlify.app/
Project - On GitHub
https://github.com/omarashzeinhom/Ast....
-References
AstroJS V2 Docs💥
https://docs.astro.build/en/guides/cm...
https://astro.build/integrations/css+ui/
Sanity Docs💥
https://www.sanity.io/docs/create-a-s...
Yarn Package for integration
https://yarnpkg.com/package/astro-sanity