podolsky4 / textmessenger Goto Github PK
View Code? Open in Web Editor NEWText Messenger is a minimal functionality social network like Twitter.
Text Messenger is a minimal functionality social network like Twitter.
Компоненты Post должен получать только необходимую информацию для отрисовки, которая пришла с сервера, тоесть к примеру PostResponseDto - это DTO который пришел с сервера, приблизительный вид:
{
"postId": 1,
"userId": 3,
"firstName": "Sarah",
"lastName": "Garcia",
"profilePhoto": "https://www.userme.....",
"createdDate": "12-02-2011T12:57+03Z"
"content": "Some text of post...",
"favorite": true,
"likesCount": 12,
"repostPost": true,
"repostsCount": 34,
"commentsCount": 6,
"latestComments": [...]
}
При удалении диалогов дожны удаляться все связанные с ним сообщения пользователей, иначе они будут хранится в базе данных как мусор
Асинхронные запросы на сервер должны выполняться либо redux-thunk, либо react-refetch, как побочные эфекты пользовательских действий
При создании диалога, пользователь выбирает тех пользователей с кем он хочет начать диалог, при нажатии кнопки "Создать диалог", создается диалог. Все приглашенные пользователи получают уведомление что они добавлены к диалогу, у всех пользователей должен отображатся данный диалог в списке диалогов на странице "Сообщения"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.