All Projects → sanity-io → startup-starter-kit

sanity-io / startup-starter-kit

Licence: other
The Structured Content Startup Starter Kit

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to startup-starter-kit

Builder
Drag and drop page building using your code components
Stars: ✭ 1,281 (+2950%)
Mutual labels:  headless, gatsby, headless-cms
awesome-medusajs
A curated list of awesome resources related to MedusaJS 😎
Stars: ✭ 113 (+169.05%)
Mutual labels:  headless, gatsby, headless-cms
plasmic
Visual page builder and web design tool for any website or web app tech stack
Stars: ✭ 1,475 (+3411.9%)
Mutual labels:  headless, gatsby, headless-cms
Midway
Headless Starter with Sanity + Gatsby + Shopify Repo
Stars: ✭ 195 (+364.29%)
Mutual labels:  headless, gatsby
Directus
Open-Source Data Platform 🐰 — Directus wraps any SQL database with a real-time GraphQL+REST API and an intuitive app for non-technical users.
Stars: ✭ 13,190 (+31304.76%)
Mutual labels:  headless, headless-cms
Pop
Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder
Stars: ✭ 160 (+280.95%)
Mutual labels:  headless, headless-cms
Sourcebit
Sourcebit helps developers build data-driven JAMstack sites by pulling data from any third-party resource
Stars: ✭ 252 (+500%)
Mutual labels:  headless, headless-cms
Storyblok
You found an issue with one of our products? - submit it here as an issue!
Stars: ✭ 206 (+390.48%)
Mutual labels:  headless, headless-cms
sanity-gatsby-portfolio
A Gatsby portfolio site powered by Sanity.io. Watch it get built live:
Stars: ✭ 16 (-61.9%)
Mutual labels:  gatsby, sanity
statiq-starter-kontent-lumen
Lumen is a minimal, lightweight, and mobile-first starter for creating blogs using Statiq and Kontent by Kentico.
Stars: ✭ 22 (-47.62%)
Mutual labels:  headless, headless-cms
wiki2ssml
Wiki2SSML provides the WikiVoice markup language used for fine-tuning synthesised voice.
Stars: ✭ 31 (-26.19%)
Mutual labels:  google-assistant, ssml
vaahcms
VaahCMS is a laravel based open-source web application development platform shipped with a headless content management system (CMS).
Stars: ✭ 56 (+33.33%)
Mutual labels:  headless, headless-cms
Awesome Headless Cms
An awesome list of headless / decoupled CMS resources.
Stars: ✭ 118 (+180.95%)
Mutual labels:  headless, headless-cms
Sdk Js
Directus JS SDK — JavaScript Software Development Kit for Node and Browser
Stars: ✭ 117 (+178.57%)
Mutual labels:  headless, headless-cms
Headless Framework
[Preview/Alpha] WordPress Headless Framework
Stars: ✭ 182 (+333.33%)
Mutual labels:  headless, headless-cms
Docker
Directus Docker — The Official Docker Container for the Directus Suite
Stars: ✭ 93 (+121.43%)
Mutual labels:  headless, headless-cms
Unite Cms
Really flexible headless CMS, built on top of Symfony and GraphQL.
Stars: ✭ 242 (+476.19%)
Mutual labels:  headless, headless-cms
Contentjet Ui
Headless API-first content management system
Stars: ✭ 42 (+0%)
Mutual labels:  headless, headless-cms
Formium
The headless form builder for the modern web.
Stars: ✭ 78 (+85.71%)
Mutual labels:  headless, headless-cms
FlexDotnetCMS
A powerful, flexible, decoupled and easy to use and Fully Featured ASP .NET CMS, it can also be used as a Headless CMS
Stars: ✭ 45 (+7.14%)
Mutual labels:  headless, headless-cms

Structured Content Startup Starter Kit 🚀

Infrastructure:

Featuring:

  • Block based front-page and landing pages
  • Configurable routes
  • Reusable landing page content
  • Blog
  • Tiered pricing
  • Social proof
  • Feature list
  • Chatbot content schemas – Speech Synthesis (SSML) Editor

The Structured Content Startup Starter Kit is a monorepo with content schemas for Sanity.io, a frontend in Gatsby using Sanity’s GraphQL API. Ready to be deployed on Netlify.

The Structured Content Startup Starter Kit was built for a presentation at the Google TED stage on Slush Helsinki 2018.

This setup lets you use Sanity as a website builder with sections that can be shared and reused across multiple pages.

Page builder

To demonstrate how you can create your own custom input types, we have included a toy “brand generator” that makes yp a company name using our silly name generator API trained on the names of 40k funded startups (hosted on Zeit’s now). You can also generate a random SVG logo, and set brand colors that will be used on the Gatsby frontend.

Brand generator

This kit also comes with content schemas and a speech synthesis editor ready to use with Google Dialogflow. To preview speech in the editor you'll need an API key with access to Google’s Text to Speech. The key can be safely stored on Sanity. In the /assistant folder we have included a serverless function for Netlify that can be used as an endpoint for intents. A tutorial for how to set this up is forthcoming.

Speech Synthesis Generator

What you need before getting started

Installation

git clone [email protected]:sanity-io/startup-starter-kit.git
cd startup-starter-kit
npm install

Initialize a new Sanity project

npm run init-sanity
npm run graphql-deploy

⚠️ This project runs on a tagged release of Sanity Studio. Do not run sanity upgrade. Keep an eye in our Slack community, or this min repo to get notice of the upgrade path.

Local development

Run development servers. We use lerna to start the backend (http://localhost:3000), frontend (http://localhost:8000) and the serverless functions (http://localhost:9000). Each service can be run individually within their respective folders.

npm run develop

Backend: Sanity.io with GraphQL

This repo gives you access to the beta release of Sanity’s GraphQL API. It will be available for all Sanity users, including those on the free developer plan. If you encounter bugs or have questions, you're more than welcome to join our community on Slack.

Deploy GraphQL schema to the Sanity API

After updating the Sanity schemas in backend/schemas, we need to deploy the GraphQL schemas:

npm run graphql-deploy

Deploy the studio

npm run studio-deploy

Frontend: Gatsby

Gatsby is a static site generator for React. If you aren't familiar with Gatsby you can find excellent documentation here. Gatsby will refresh with new data when you develop locally. If you change the content schema, you'll have to re-deploy the graphql API (`npm run graphql-deploy) and restart the development server.

The frontend has a general page template found in page.js. It also has dedicated templates for the following routes:

  • features
  • pricing
  • start
  • blog and blog-posts will appear if you add some content in posts in your Sanity project

Deployment: Netlify

To sign up for Netlify and follow the instructions,pointing to your repo on GitHub/GitLab/BitBucket.

Trigger rebuilds on published content

You can add a webhook in Netlify that you can call to trigger rebuilds with new content. Copy the URL you're given by Netlify and add it to Sanity by running the command sanity hook create in the /backend folder.

Google Assistant

Instructions are coming.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].