hackclub / hackathons-backend

Powering https://hackathons.hackclub.com

Home Page:https://hackathons.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hackathon model

garyhtou opened this issue · comments

It should closely match the fields on Airtable.

  • Has_many Notifications
  • ID (hashid)
  • Applicant email
  • High school student-led: boolean
  • Expected attendees
  • state: pending, approved, rejected
  • Name
  • Website
  • Start
  • Stop
  • Logo
  • Banner
  • City
  • State
  • Country
  • Longitude
  • Latitude
  • Type: virtual, hybrid, in-person
  • Offers financial assistance (travel stipends or scholarships): boolean
  • Requested stickers & postcards: boolean
    • We’ll also need their mailing address
  • MLH affiliated: boolean
  • APAC region: boolean
  • Hack Club affiliated: boolean
  • Timestamps (created_at & updated_at)

We also talked about moving some of the booleans (such as affiliations, etc.) to a Tag model.

There was also talk about splitting this model up with an Application model.

I'm going to reopen this for now since we've got additional fields we'll need to add

This ticket is basically done now. There are a few remaining subtasks, but they are related to other models:

  • Adding Notification association
  • Adding affiliation Tags (e.g. Hack Club affiliated or MLH affiliated)
  • Handling regions
    • This one's still a big unknown. I'm thinking we create a Region model