lilyzhaoyilu / WeSlack

Slack web app clone.
3 stars 1 forks source link

Design Docs #1

Closed jenvomo closed 3 years ago

jenvomo commented 3 years ago

Wiki Page Home

Comments


MVP List

Comments


Database Schema

Comments


Sample State

Comments


Backend Routes

Comments

Frontend Routes

Comments

lilyzhaoyilu commented 3 years ago

All, except routes, are updated based on the comments. Thanks!

lilyzhaoyilu commented 3 years ago

Front routes & back routes are updated based on suggestions. Changed schema -- now channels table has a column message_id. Now when fetching channelMessages, the server hits channels first and the fetch channelMessages based on message_id column. Not sure if this is a better approach, but the intention is to reduce the number of query requests.

lilyzhaoyilu commented 3 years ago

updated schema to simplified to logic for demo purpose:

Not sure about the backend routes design yet...

jenvomo commented 3 years ago

Just reviewed! Docs are looking great @lilyzhaoyilu ! There a couple items left - let me know if you have any questions!

lilyzhaoyilu commented 3 years ago

updated according to the suggestion above.

jenvomo commented 3 years ago

Great job @lilyzhaoyilu !