Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deniyaldanidan/hello-chat
https://github.com/deniyaldanidan/hello-chat
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/deniyaldanidan/hello-chat
- Owner: deniyaldanidan
- Created: 2023-12-22T23:58:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-09T10:55:39.000Z (about 1 year ago)
- Last Synced: 2024-01-09T16:09:30.363Z (about 1 year ago)
- Language: TypeScript
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Project Hello Chat
> Test Password: pass123
## Techs used:
- React +
- Express +
- TailwindCSS, NextUI & Framer-motion +
- Socket.io +
- JWT for Auth
- Postgresql with prisma## Basic App Functionality
- Private One to One Chat
- Group Chats with Admins to manage the group
- Authed Users## TODOS
- [x] Setup Basic server & Client. Test socket connection
- [x] Add Tailwindcss
- [x] Add cn() function.
- [x] Design SQL-DB Schema.
- Build User-Auth with JWT
- [x] Server-side
- [x] Client-side
- [x] Modify table to add chat info (name & description) to `Chat` table.
- [x] Build basic UI Layout.
- [x] Connect each user to their own websocket room `with their own username as roomId`. Used for updates & notifications.
- Private Chat.
- [ ] Build search-users functionality.
- [ ] On clicking the user, create a private chat in the database.
- [ ] Connect the user to that private socket-room with chatId as room name & send a notification to the other party.
- Group Chat.## Data-Model:
User:
- id
- name --> string
- username --> string
- email --> string
- password --> string
- refresh --> stringChat:
- id
- isGroup --> boolean
- admin --> user_id
- users --> [] array of user_idMessage:
- id
- chat_id
- msg --> string
- by --> user_id
- status --> READ DELIVERED UNDELIVERED