Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lessmess-dev/prismic-demo
https://github.com/lessmess-dev/prismic-demo
preact prismic pusher
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/lessmess-dev/prismic-demo
- Owner: lessmess-dev
- Created: 2020-02-24T20:37:29.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T08:13:07.000Z (about 2 years ago)
- Last Synced: 2024-11-08T02:47:42.724Z (3 months ago)
- Topics: preact, prismic, pusher
- Language: CSS
- Homepage: https://prismic-demo.now.sh
- Size: 1.42 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prismic Demo
News feed with live updates demo.
[Website](https://zeit.co/ilyalesik/prismic-demo/4s4satkid)
[Backoffice](https://lesik-test.prismic.io/documents)## Tech stack:
* [Prismic.io](https://prismic.io/) - headless CMS.
* [Pusher](https://pusher.com/) - Pub/sub service.
* [Zeit Now](https://zeit.co/) - CDN + lambda service.
* [Preact](https://preactjs.com/) - view layer.
* CSS Modules
* Parcel## How it works
### Live updates
* Frontend subscribes to Pusher updates
* Prismic calls webhook after creating/updating/deleting content
* Webhook URL is our lamda service that send message to Pusher