Skip to content

spences10/sveltekit-reactions

Repository files navigation

SvelteKit emoji reactions component

emoji reaction buttons

A simple component that can be adapted for use in your SvelteKit project.

Uses SvelteKit form actions to submit reactions to a Upstash Redis database with Upstash rate limiting.

Configurable through the src/lib/config.ts file.

Blog post

Detail on how it was implemented: https://scottspence.com/posts/sveltekit-page-reaction-component-with-upstash-redis

Demo

https://sveltekit-reactions.vercel.app

Resources

Initial idea from:

How to use rate limit with SvelteKit:

Thanks

Jamie Barton for the reactions post on the Grafbase blog.

Geoff Rich for the rate limit guide on the Upstash blog.