Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brob/sanity-template-11ty-madlibs
A Sanity Starter for making a madlibs generator
https://github.com/brob/sanity-template-11ty-madlibs
Last synced: 7 days ago
JSON representation
A Sanity Starter for making a madlibs generator
- Host: GitHub
- URL: https://github.com/brob/sanity-template-11ty-madlibs
- Owner: brob
- Created: 2021-07-01T13:23:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:46:10.000Z (about 1 year ago)
- Last Synced: 2024-11-07T00:29:19.515Z (about 2 months ago)
- Language: JavaScript
- Size: 1.99 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Madlib generator with Sanity, Netlify, and 11ty Serverless
This repository is a demo for this Smashing Magazine article.
[Try the Demo here](https://brob.dev/madlibs).
It creates a madlib generator that stores madlib templates and user-generated madlibs in a Sanity content lake. It builds static and server-rendered pages with 11ty, and uses Netlify On-Demand builders and serverless functions to add interactivity.
## Install and run
### Site setup
To set up and run the site locally, you'll need Netlify's CLI installed globally.
```bash
cd site
npm install
npm install -g netlify-cli
netlify dev
```### Studio setup
```bash
cd studio
sanity install
npm start
```