├── .eslintrc.json ├── .gitignore ├── README.md ├── components ├── Avatar.jsx ├── Chat.jsx ├── ChatFooter.jsx ├── ChatHeader.jsx ├── ChatMenu.jsx ├── Chats.jsx ├── Composebar.jsx ├── Icon.jsx ├── LeftNav.jsx ├── Loader.jsx ├── Menu.jsx ├── Message.jsx ├── Messages.jsx ├── Search.jsx ├── Sidebar.jsx ├── ToastMessage.jsx └── popup │ ├── DeleteMsgPopup.jsx │ ├── EditMsgPopup.jsx │ ├── PopupWrapper.jsx │ └── UsersPopup.jsx ├── context ├── authContext.js └── chatContext.js ├── firebase └── firebase.js ├── hook └── useDebounce.jsx ├── jsconfig.json ├── next.config.js ├── package.json ├── pages ├── _app.js ├── _document.js ├── api │ └── hello.js ├── index.js ├── login.js └── register.js ├── postcss.config.js ├── public ├── favicon.ico ├── loader.svg ├── next.svg ├── typing.svg └── vercel.svg ├── styles └── globals.css ├── tailwind.config.js └── utils ├── constants.js └── helpers.js /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/README.md -------------------------------------------------------------------------------- /components/Avatar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Avatar.jsx -------------------------------------------------------------------------------- /components/Chat.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Chat.jsx -------------------------------------------------------------------------------- /components/ChatFooter.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/ChatFooter.jsx -------------------------------------------------------------------------------- /components/ChatHeader.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/ChatHeader.jsx -------------------------------------------------------------------------------- /components/ChatMenu.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/ChatMenu.jsx -------------------------------------------------------------------------------- /components/Chats.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Chats.jsx -------------------------------------------------------------------------------- /components/Composebar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Composebar.jsx -------------------------------------------------------------------------------- /components/Icon.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Icon.jsx -------------------------------------------------------------------------------- /components/LeftNav.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/LeftNav.jsx -------------------------------------------------------------------------------- /components/Loader.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Loader.jsx -------------------------------------------------------------------------------- /components/Menu.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Menu.jsx -------------------------------------------------------------------------------- /components/Message.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Message.jsx -------------------------------------------------------------------------------- /components/Messages.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Messages.jsx -------------------------------------------------------------------------------- /components/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Search.jsx -------------------------------------------------------------------------------- /components/Sidebar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/Sidebar.jsx -------------------------------------------------------------------------------- /components/ToastMessage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/ToastMessage.jsx -------------------------------------------------------------------------------- /components/popup/DeleteMsgPopup.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/popup/DeleteMsgPopup.jsx -------------------------------------------------------------------------------- /components/popup/EditMsgPopup.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/popup/EditMsgPopup.jsx -------------------------------------------------------------------------------- /components/popup/PopupWrapper.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/popup/PopupWrapper.jsx -------------------------------------------------------------------------------- /components/popup/UsersPopup.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/components/popup/UsersPopup.jsx -------------------------------------------------------------------------------- /context/authContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/context/authContext.js -------------------------------------------------------------------------------- /context/chatContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/context/chatContext.js -------------------------------------------------------------------------------- /firebase/firebase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/firebase/firebase.js -------------------------------------------------------------------------------- /hook/useDebounce.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/hook/useDebounce.jsx -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/jsconfig.json -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/pages/_app.js -------------------------------------------------------------------------------- /pages/_document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/pages/_document.js -------------------------------------------------------------------------------- /pages/api/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/pages/api/hello.js -------------------------------------------------------------------------------- /pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/pages/index.js -------------------------------------------------------------------------------- /pages/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/pages/login.js -------------------------------------------------------------------------------- /pages/register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/pages/register.js -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/loader.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/public/loader.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/typing.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/public/typing.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /utils/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/utils/constants.js -------------------------------------------------------------------------------- /utils/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShariqAnsari88/firebase-chat-app/HEAD/utils/helpers.js --------------------------------------------------------------------------------