koolamusic / lovesanta

The Secret Santa App: Anonymously pair yourself with a team-mate you can show a random act of kindness to

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Love Dip x 21

pair preference pair-success

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

Serverless

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 :(

Prerequisites

  • You need git installed locally
  • You need Nodejs and npm 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

Build and Deploy

To build this project run npm run build and deploy to vercel

About

The Secret Santa App: Anonymously pair yourself with a team-mate you can show a random act of kindness to


Languages

Language:TypeScript 99.9%Language:JavaScript 0.1%