-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database Design #2
Comments
The users should be able to post more than one heart data row. In stead of one to one, it makes more sense for it to be one user having a heart data collection which can be one or more. Not sure about putting posts in its own DB with the proposed columns since content is what exactly? The post data should be associated with the Heart data. If the user does not have a heart data row, then just leave it unmodifiable. |
Did some research. No SQL databases use 1 large table instead of a bunch of smaller. And data is specified using unique keys and key value pairs. But not 100% sure how that all works. Haven't done it before |
Useful to watch this: https://www.youtube.com/watch?v=jm66TSlVtcc . Seems to me we just need to put the user id in the heart data table and whenever we need just the heart data posts, we query for that user id that we will have for the user session. Different from Relational DBs where we would start with the user table and do a join. |
What data do we currently have?We will list out all of the fields in the CSV to gain an understanding of what we have. High Priority Fields
|
Other High Priority Fields
###API Research |
High Priority Fields
Gene Mutations
API Research (NBCI SNP)Honestly, all these APIs look pretty crap. This API can take names as to return it's data but in a very strange format, doesn't really return data the spec say we need (Just returns ID's, NO USEFUL DATA that the spec asks for), and it's returned in XML. I had a quick look at the APIs he suggested and I think we should probably just look for an entirely different one. |
FireStore is NoSQL, so it uses a Document-Collections model. Personally, I only have experience with SQL so I made a quick ERD of the database design just to get the ball rolling of how we are going to plan this out. This obviously WON'T be the final design, as I said, just a quick start to properly develop the design.
Any ideas on how to improve this??
The text was updated successfully, but these errors were encountered: