So you wanna host a lovefeast, however participants need to dip and select their pairs randomly, as well as secretly. No one is supposed to know another person's pair. This App is built with NextJs and uses Airtable as the Database.
- Users can set a secret code
- Users can Generate their pair randomly (using some lodash helpers)
- Users can Generate Random Pairs only (3times) to avoid abuse.
pair_secret_santa__fast.mp4
The APIs are a set of serverless functions, coupled with the delivery of Nextjs on Edge (a.k.a) Vercel and the power of Airtable as a User friendly database. This project was written within 24-hours 😉 So there might be a few edge cases not covered yet within the access and pairing algorithms, coupled with a bunch of if/else :(
- You need
git
installed locally - You need
Nodejs
andnpm
installed - You need a Code Editor (Vscode, webstorm, Atom) etc
git clone https://github.com/koolamusic/love-dip
$ cd love-dip
$ npm install && npm run dev
To build this project run npm run build
and deploy to vercel