Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brob/sanity-11ty-madlibs-cli
11ty Serverless Madlibs - cli test
https://github.com/brob/sanity-11ty-madlibs-cli
Last synced: 7 days ago
JSON representation
11ty Serverless Madlibs - cli test
- Host: GitHub
- URL: https://github.com/brob/sanity-11ty-madlibs-cli
- Owner: brob
- Created: 2021-07-01T14:44:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T11:36:57.000Z (about 1 year ago)
- Last Synced: 2024-11-07T00:29:30.861Z (about 2 months ago)
- Language: JavaScript
- Size: 1.59 MB
- Stars: 0
- 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.
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
```