-
Notifications
You must be signed in to change notification settings - Fork 9
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
MVP Domain Model + Application Core #2
Comments
Team User
Team Resource
|
How to build "user has many resources"/"resource belongs to user" relationshipThis describes the relationship between a resource and the user that posted it. Later, we may build more relationships to allow users to "favorite" or "save" resources. What column do we need to add to either table?
What schema will we need?
What roles/permissions will users need to do different actions, like:
|
Today:
|
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Statement
From the gist we wrote up last week here https://gist.github.com/SophieDeBenedetto/4127f6fc7112d3277b04f3493e4b7ee0, we decided our MVP (Minimum Viable Product) should look something like this:
The first step towards building this functionality is implementing the core modules and schemas that will represent users and resources, and map to a users database table and resources database table.
Deliverable
users
database table with some of the attributes we specified here https://gist.github.com/SophieDeBenedetto/4127f6fc7112d3277b04f3493e4b7ee0#gistcomment-3784430User
schema implemented in our application core that maps to this database table.resources
database table with some of the attributes we specified here https://gist.github.com/SophieDeBenedetto/4127f6fc7112d3277b04f3493e4b7ee0#gistcomment-3784430Resource
schema implemented in our application core that maps to this database tableUser
andResource
modules that verifies the behavior of the modules.Implementation Details
mix phx.gen.schema
tool to generate theResource
and table.Accounts
context, aUser
schema and theusers
table.The text was updated successfully, but these errors were encountered: