Replies: 3 comments 2 replies
-
GitHub User Public Profile SchemaI prefixed column names with an underscore if the public profile property name matches what a property name returned by the GitHub User API. The data might be rendered differently on the public profile. A good example is
I wanted to make sure that there would not be property name collisions once we also include API queries. It was just easier for me to start by setting up public profile scraping. Perhaps its smarter to have a table for public profiles, and then a separate table for User API profiles; and then associate those by using login as the key? Their username (login) should be available in both datasets.
|
Beta Was this translation helpful? Give feedback.
-
Ubiquity Bounty System Metadata Schema
|
Beta Was this translation helpful? Give feedback.
-
We might consider MongoDB Atlas (which has a free tier like Supabase as well) |
Beta Was this translation helpful? Give feedback.
-
Background
In a future vision, we will have a Chrome Extension which will inject related information on top of the GitHub UI such as your incentives (see the incentives section) and your "level" which recognizes your skills for ranking up through our Bounty System.
We need to keep track of this information somewhere, so this is why we must think through our database schema.
Progress
I have a database set up on supabase because its free, cloud hosted, has a great developer experience and has a built in RESTful API. For better or for worse (I think for better - because of performance and scaling!) it is a SQL style database.
We scraped the GitHubs of Ethereum hackathon participants and stored their information there. The intent is to associate those leads with developer relations managers so that whenever the leads solve a bounty, our bounty bot will automatically recognize and pay the devrel that recruited them. This is one of our many incentives in our system.
I am not an expert in database schema design, but we should saddle up on a final design once the v1 spec of the Bounty System is complete (looks like we're getting pretty close based on #1.)
Beta Was this translation helpful? Give feedback.
All reactions