Skip to content

Latest commit

 

History

History
120 lines (97 loc) · 3.98 KB

capstone_entity_relationship_diagram.livemd

File metadata and controls

120 lines (97 loc) · 3.98 KB

Capstone Project: Entity-Relationship Diagram

Mix.install([
  {:jason, "~> 1.4"},
  {:kino, "~> 0.9", override: true},
  {:youtube, github: "brooklinjazz/youtube"},
  {:hidden_cell, github: "brooklinjazz/hidden_cell"}
])

Navigation

Capstone Project: Entity Relationship Diagram

In the README.md of your capstone project, create an entity-relationship diagram with mermaid.

Here's an example Entity-Relationship Diagram that describes the data and associations in the blog project.

erDiagram
User {
  string username
  string email
  string password
  string hashed_password
  naive_datetime confirmed_at
}

Post {
    string title
    text content
    date published_on
    boolean visibility
}

CoverImage {
    text url
    id post_id
}

Comment {
  text content
  id post_id
}

Tag {
    string name
}

User |O--O{ Post: ""
Post }O--O{ Tag: ""
Post ||--O{ Comment: ""
Post ||--|| CoverImage: ""
Loading

See https://mermaid.js.org/syntax/entityRelationshipDiagram.html for the syntax.

Requirements

  • Document the entities and their fields.
  • Document the associations (many-to-one, many-to-many, one-to-one).

Commit Your Progress

DockYard Academy now recommends you use the latest Release rather than forking or cloning our repository.

Run git status to ensure there are no undesirable changes. Then run the following in your command line from the curriculum folder to commit your progress.

$ git add .
$ git commit -m "finish Capstone Project: Entity-Relationship Diagram exercise"
$ git push

We're proud to offer our open-source curriculum free of charge for anyone to learn from at their own pace.

We also offer a paid course where you can learn from an instructor alongside a cohort of your peers. We will accept applications for the June-August 2023 cohort soon.

Navigation