João Victor Geonizeli f97dadd796 add planning to README
2022-02-28 16:41:34 -03:00
2022-02-28 14:21:31 -03:00
2022-02-27 14:15:00 -03:00
2022-02-28 10:37:54 -03:00
2022-02-28 11:22:37 -03:00
2022-02-27 14:15:00 -03:00
2022-02-27 14:15:00 -03:00
2022-02-27 14:15:00 -03:00
2022-02-28 14:06:45 -03:00
2022-02-27 14:15:00 -03:00
2022-02-27 14:15:00 -03:00
2022-02-27 14:15:00 -03:00
2022-02-27 14:15:00 -03:00
2022-02-27 14:15:00 -03:00
2022-02-27 14:15:48 -03:00
2022-02-27 14:15:00 -03:00
2022-02-27 14:15:00 -03:00
2022-02-28 13:45:28 -03:00
2022-02-28 13:45:28 -03:00
2022-02-27 14:15:00 -03:00
2022-02-28 16:41:34 -03:00

README

Planning

Question for the Product Manager

  • We will allow user to use @mentioning only in the beginning of text?
  • What do you think about create an extensive architecture to support new features, creating a relation of posts and users through Mention entity?

Implementation

  1. Improve Post entity scopes, moving post, repost, quoted_post and reply to kind enum column, becase of the static characteristic of posts a precomputed status will be perfect to simplify queries.
  2. Rename Post#quoted_post to Post#reference
  3. Add a reply route to post, example POST /posts/1/replys, when creating a reply save post with kind
  4. When quering a reply, the frontend will concat orignal post owner username with post content

Self-critique and scaling

Description
No description provided
Readme 87 KiB
Languages
Ruby 96.9%
Dockerfile 2%
Shell 1.1%