chingu-voyage3 / bears-11

0 stars 1 forks source link

Define initial data model #33

Closed jboxman closed 6 years ago

jboxman commented 6 years ago

Based on the user stories so far, we have enough information to sketch out what our data model looks like.

mojicaj commented 6 years ago

let me know if I missed anything

Project { title: String, description: String, level: Number, type: String, link: String, // link to github, non-profit }

// extended feature User { username: String, githubId: String, projects: Array // completed projects }

jboxman commented 6 years ago

Cool. This is a good start. I wonder if we ought to specify an Enum for level and type in the model itself? What were our types and levels?

mojicaj commented 6 years ago

we didn't really discuss this in detail but we were thinking type: clone, non-profit, Github issue - anymore? we spoke about using the FCC/Chingu tiers for level

jboxman commented 6 years ago

Here's a proposed gist of what this might look like.

https://gist.github.com/jboxman/984e646f14401f09c0737939813eeffe

Let's see if this supports embeds. (No, it doesn't.)

jboxman commented 6 years ago

What does everyone think?