> For the complete documentation index, see [llms.txt](https://arif-hanif.gitbook.io/slackclone/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arif-hanif.gitbook.io/slackclone/server/api/data-modeling.md).

# Data Model - PostgreSQL

Using draw\.io we can model what the data will look like for our application. Below is a diagram that should center what we will be building.

Our application will have users, they can create messages in channels or do direct messages with each other.

![](https://3683023892-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LurxKF9uo_T_1SndGac%2F-LuywbO-g_C8BUnauxj3%2F-Luz-yXcYUMN_bWRYomJ%2Fimage.png?alt=media\&token=2cf1b7f1-5a83-4b3c-b542-9348aee47999)
