Powered by AppSignal & Oban Pro

Domain Documentation

livebook.livemd

Domain Documentation

Domain MyAshBlog.Blog

Class Diagram

classDiagram
    class Post {
        UUID id
        destroy()
        read()
        create(String title, String content)
        update(String title, String content)
        by_id(UUID id)
    }
    class Comment {
        UUID id
        destroy()
        read()
        create(String author, String content)
        update(String author, String content)
        by_id(UUID id)
    }
    class Author {
        UUID id
        destroy()
        read()
        create(String name, String email)
        update(String name, String email)
        by_id(UUID id)
    }
    class User {
        UUID id
        destroy()
        read()
        create(String username, String email)
        update(String username, String email)
        by_id(UUID id)
    }

ER Diagram

erDiagram
    Post {
        UUID id
    }
    Comment {
        UUID id
    }
    Author {
        UUID id
    }
    User {
        UUID id
    }

Resources

Post

Attributes

Name Type Description
id UUID
title String
content String
inserted_at UtcDatetimeUsec
updated_at UtcDatetimeUsec

Actions

Name Type Input Description
destroy destroy
    read read
      create create
      • title String attribute
      • content String attribute
      update update
      • title String attribute
      • content String attribute
      by_id read
      • id UUID

      Comment

      Attributes

      Name Type Description
      id UUID
      author String
      content String
      inserted_at UtcDatetimeUsec
      updated_at UtcDatetimeUsec

      Actions

      Name Type Input Description
      destroy destroy
        read read
          create create
          • author String attribute
          • content String attribute
          update update
          • author String attribute
          • content String attribute
          by_id read
          • id UUID

          Author

          Attributes

          Name Type Description
          id UUID
          name String
          email String
          inserted_at UtcDatetimeUsec
          updated_at UtcDatetimeUsec

          Actions

          Name Type Input Description
          destroy destroy
            read read
              create create
              • name String attribute
              • email String attribute
              update update
              • name String attribute
              • email String attribute
              by_id read
              • id UUID

              User

              Attributes

              Name Type Description
              id UUID
              username String
              email String
              inserted_at UtcDatetimeUsec
              updated_at UtcDatetimeUsec

              Actions

              Name Type Input Description
              destroy destroy
                read read
                  create create
                  • username String attribute
                  • email String attribute
                  update update
                  • username String attribute
                  • email String attribute
                  by_id read
                  • id UUID