├── .env ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── index.html ├── package.json ├── public └── vite.svg ├── src ├── App.jsx ├── assets │ └── notes.txt ├── components │ ├── auth │ │ └── ProtectRoute.jsx │ ├── dialogs │ │ ├── AddMemberDialog.jsx │ │ ├── ConfirmDeleteDialog.jsx │ │ ├── DeleteChatMenu.jsx │ │ └── FileMenu.jsx │ ├── layout │ │ ├── AdminLayout.jsx │ │ ├── AppLayout.jsx │ │ ├── Header.jsx │ │ └── Loaders.jsx │ ├── shared │ │ ├── AvatarCard.jsx │ │ ├── ChatItem.jsx │ │ ├── MessageComponent.jsx │ │ ├── RenderAttachment.jsx │ │ ├── Table.jsx │ │ ├── Title.jsx │ │ └── UserItem.jsx │ ├── specific │ │ ├── Charts.jsx │ │ ├── ChatList.jsx │ │ ├── NewGroup.jsx │ │ ├── Notifications.jsx │ │ ├── Profile.jsx │ │ └── Search.jsx │ └── styles │ │ └── StyledComponents.jsx ├── constants │ ├── color.js │ ├── config.js │ ├── events.js │ └── sampleData.js ├── hooks │ └── hook.jsx ├── lib │ └── features.js ├── main.jsx ├── pages │ ├── Chat.jsx │ ├── Groups.jsx │ ├── Home.jsx │ ├── Login.jsx │ ├── NotFound.jsx │ └── admin │ │ ├── AdminLogin.jsx │ │ ├── ChatManagement.jsx │ │ ├── Dashboard.jsx │ │ ├── MessageManagement.jsx │ │ └── UserManagement.jsx ├── redux │ ├── api │ │ └── api.js │ ├── reducers │ │ ├── auth.js │ │ ├── chat.js │ │ └── misc.js │ ├── store.js │ └── thunks │ │ └── admin.js ├── socket.jsx └── utils │ └── validators.js ├── vercel.json └── vite.config.js /.env: -------------------------------------------------------------------------------- 1 | 2 | 3 | VITE_SERVER = http://localhost:3000 -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/package.json -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/public/vite.svg -------------------------------------------------------------------------------- /src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/App.jsx -------------------------------------------------------------------------------- /src/assets/notes.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/auth/ProtectRoute.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/auth/ProtectRoute.jsx -------------------------------------------------------------------------------- /src/components/dialogs/AddMemberDialog.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/dialogs/AddMemberDialog.jsx -------------------------------------------------------------------------------- /src/components/dialogs/ConfirmDeleteDialog.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/dialogs/ConfirmDeleteDialog.jsx -------------------------------------------------------------------------------- /src/components/dialogs/DeleteChatMenu.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/dialogs/DeleteChatMenu.jsx -------------------------------------------------------------------------------- /src/components/dialogs/FileMenu.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/dialogs/FileMenu.jsx -------------------------------------------------------------------------------- /src/components/layout/AdminLayout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/layout/AdminLayout.jsx -------------------------------------------------------------------------------- /src/components/layout/AppLayout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/layout/AppLayout.jsx -------------------------------------------------------------------------------- /src/components/layout/Header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/layout/Header.jsx -------------------------------------------------------------------------------- /src/components/layout/Loaders.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/layout/Loaders.jsx -------------------------------------------------------------------------------- /src/components/shared/AvatarCard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/shared/AvatarCard.jsx -------------------------------------------------------------------------------- /src/components/shared/ChatItem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/shared/ChatItem.jsx -------------------------------------------------------------------------------- /src/components/shared/MessageComponent.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/shared/MessageComponent.jsx -------------------------------------------------------------------------------- /src/components/shared/RenderAttachment.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/shared/RenderAttachment.jsx -------------------------------------------------------------------------------- /src/components/shared/Table.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/shared/Table.jsx -------------------------------------------------------------------------------- /src/components/shared/Title.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/shared/Title.jsx -------------------------------------------------------------------------------- /src/components/shared/UserItem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/shared/UserItem.jsx -------------------------------------------------------------------------------- /src/components/specific/Charts.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/specific/Charts.jsx -------------------------------------------------------------------------------- /src/components/specific/ChatList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/specific/ChatList.jsx -------------------------------------------------------------------------------- /src/components/specific/NewGroup.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/specific/NewGroup.jsx -------------------------------------------------------------------------------- /src/components/specific/Notifications.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/specific/Notifications.jsx -------------------------------------------------------------------------------- /src/components/specific/Profile.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/specific/Profile.jsx -------------------------------------------------------------------------------- /src/components/specific/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/specific/Search.jsx -------------------------------------------------------------------------------- /src/components/styles/StyledComponents.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/components/styles/StyledComponents.jsx -------------------------------------------------------------------------------- /src/constants/color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/constants/color.js -------------------------------------------------------------------------------- /src/constants/config.js: -------------------------------------------------------------------------------- 1 | export const server = import.meta.env.VITE_SERVER; 2 | -------------------------------------------------------------------------------- /src/constants/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/constants/events.js -------------------------------------------------------------------------------- /src/constants/sampleData.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/constants/sampleData.js -------------------------------------------------------------------------------- /src/hooks/hook.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/hooks/hook.jsx -------------------------------------------------------------------------------- /src/lib/features.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/lib/features.js -------------------------------------------------------------------------------- /src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/main.jsx -------------------------------------------------------------------------------- /src/pages/Chat.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/Chat.jsx -------------------------------------------------------------------------------- /src/pages/Groups.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/Groups.jsx -------------------------------------------------------------------------------- /src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/Home.jsx -------------------------------------------------------------------------------- /src/pages/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/Login.jsx -------------------------------------------------------------------------------- /src/pages/NotFound.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/NotFound.jsx -------------------------------------------------------------------------------- /src/pages/admin/AdminLogin.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/admin/AdminLogin.jsx -------------------------------------------------------------------------------- /src/pages/admin/ChatManagement.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/admin/ChatManagement.jsx -------------------------------------------------------------------------------- /src/pages/admin/Dashboard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/admin/Dashboard.jsx -------------------------------------------------------------------------------- /src/pages/admin/MessageManagement.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/admin/MessageManagement.jsx -------------------------------------------------------------------------------- /src/pages/admin/UserManagement.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/pages/admin/UserManagement.jsx -------------------------------------------------------------------------------- /src/redux/api/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/redux/api/api.js -------------------------------------------------------------------------------- /src/redux/reducers/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/redux/reducers/auth.js -------------------------------------------------------------------------------- /src/redux/reducers/chat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/redux/reducers/chat.js -------------------------------------------------------------------------------- /src/redux/reducers/misc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/redux/reducers/misc.js -------------------------------------------------------------------------------- /src/redux/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/redux/store.js -------------------------------------------------------------------------------- /src/redux/thunks/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/redux/thunks/admin.js -------------------------------------------------------------------------------- /src/socket.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/socket.jsx -------------------------------------------------------------------------------- /src/utils/validators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/src/utils/validators.js -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/vercel.json -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meabhisingh/chatapp-frontend/HEAD/vite.config.js --------------------------------------------------------------------------------