RT Poll is a completely free public poll platform built using Supabase for their Holiday Hackdays hackathon.
It allows authenticated users to easily create polls with multiple options, share them via link, and vote on polls shared by other users. To make the polls more interactive, RT Poll uses the realtime capabilities of the Supabase database, and uses Row Level Security (RLS) to ensure that the data remains secure and accurate.
RT Poll is publicly available at https://rtpoll.vercel.app/.
Built with ❤️ by
This website is built using Supabase, Next.js and Chakra UI, and it is hosted on Vercel.
The main goal of this hackathon project was to test out the new capabilities of the realtime database on Supabase, that now supports Row Level Security. However, RT Poll leverages multiple Supabase services:
- Supabase Auth: used to let users sign in or create accounts using magic links to reduce friction
- Supabase Database: used as database to keep data about polls, choices, votes, and the users themselves
- Supabase Storage: used to store the users' profile pictures
This is the current database schema:
(made with Supabase Schema)
Here's a simple video of the realtime capabilities of RT Poll: