Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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