CHAT-APP/
__root__
package.json README.MD
backend
package-lock.json package.json src
index.js controllers
auth.controller.js message.controller.js seeds
user.seed.js models
user.model.js message.model.js routes
message.route.js auth.route.js middleware
auth.middleware.js
frontend
package-lock.json vite.config.js postcss.config.mjs package.json index.html eslint.config.js src
index.css App.jsx main.jsx components
Navbar.jsx Sidebar.jsx AuthImagePattern.jsx NoChatSelected.jsx ChatContainer.jsx ChatHeader.jsx MessagesInput.jsx skeletons
SidebarSkeleton.jsx MessageSkeleton.jsx constants
index.js
- π Tech stack: MERN + Socket.io + TailwindCSS + Daisy UI
- π Authentication && Authorization with JWT
- πΎ Real-time messaging with Socket.io
- π Online user status
- π Global state management with Zustand
MONGODB_URI=...
PORT=5001
JWT_SECRET=...
CLOUDINARY_CLOUD_NAME=...
CLOUDINARY_API_KEY=...
CLOUDINARY_API_SECRET=...
NODE_ENV=developmentnpm run buildnpm start- π¬ Join the Discussions: Share your insights, provide feedback, or ask questions.
- π Report Issues: Submit bugs found or log feature requests for the
chat-appproject. - π‘ Submit Pull Requests: Review open PRs, and submit your own PRs.
Contributing Guidelines
- Fork the Repository: Start by forking the project repository to your github account.
- Clone Locally: Clone the forked repository to your local machine using a git client.
git clone https://github.com/Patrickbpds/chat-app
- Create a New Branch: Always work on a new branch, giving it a descriptive name.
git checkout -b new-feature-x
- Make Your Changes: Develop and test your changes locally.
- Commit Your Changes: Commit with a clear message describing your updates.
git commit -m 'Implemented new feature x.' - Push to github: Push the changes to your forked repository.
git push origin new-feature-x
- Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
- Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!