Schema-Driven Astro Starter Kit Development by Grey NewellSchema-Driven Astro Starter Kit Development by Grey Newell

Schema-Driven Astro Starter Kit Development

Portfolio project
Grey Newell

Schema-Driven Astro Starter Kit

A production-ready starter kit that brings structured data, SEO optimization, and schema-driven development to your Astro projects. Built for developers who want to ship fast, maintainable, and search-engine friendly websites.

Demo

๐ŸŽฏ Why This Starter Kit?

Schema-First Development: Define your data structures once, use them everywhere. No more prop drilling or type mismatches.
Decap CMS Integration: Git-based content management with a user-friendly admin interface. Edit content directly in your browser, commit changes to your repository.
Accessibility-First Design: First-class accessibility controls for high contrast mode, keyboard navigation, screen reader support and more!
SEO Optimized: Built-in structured data and meta tags that search engines love.
Type Safety: Full TypeScript support with generated types from your schemas.
Performance: Astro's zero JavaScript by default approach means your site loads instantly.
Developer Experience: Hot reloading, type checking, and intuitive development workflow.

๐Ÿš€ Quick Start

# Create a new project using this template
npm create astro@latest my-project -- --template https://github.com/greynewell/schema-driven-astro-starter

# Navigate to your project
cd my-project

# Install dependencies
npm install

# Start the development server
npm run dev

๐Ÿ“š Documentation & Tutorials

๐Ÿ—๏ธ Project Structure

/
โ”œโ”€โ”€ src/
โ”‚ โ”œโ”€โ”€ components/ # Reusable UI components
โ”‚ โ”œโ”€โ”€ layouts/ # Page layouts
โ”‚ โ”œโ”€โ”€ pages/ # Route components
โ”‚ โ”œโ”€โ”€ schemas/ # Your data schemas
โ”‚ โ””โ”€โ”€ utils/ # Helper functions
โ”œโ”€โ”€ public/ # Static assets
โ””โ”€โ”€ astro.config.mjs # Astro configuration

๐Ÿšข Deployment

GitHub Pages

Push your code to GitHub
Enable GitHub Pages in your repository settings
Set the build command to npm run build
Set the output directory to dist
# Build your site
npm run build

# Preview the production build
npm run preview

๐Ÿ› ๏ธ Available Scripts

CommandDescriptionnpm run devStart development servernpm run buildBuild for productionnpm run previewPreview production buildnpm run checkType check your codenpm run formatFormat your code

๐Ÿค Contributing

Found a bug? Have a feature request? We'd love to hear from you! Please open an issue or submit a pull request.

๐Ÿ“„ License

MIT License - feel free to use this starter kit for any project, commercial or personal.

๐Ÿ”— Links

1 like ยท 39 views ยท May 16, 2025

Developed a schema-driven starter kit for Astro projects with SEO and accessibility features.

Timeline

May 15, 2025 - Ongoing

Tags