Coder Social home page Coder Social logo

ishre-yash / chat-fusion Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 160 KB

Elevate your messaging experience with our real-time chat app. Enjoy sleek design, secure authentication, file sharing, and more. Explore data handling, real-time updates, and chat room management. The future of communication is here.

TypeScript 99.06% CSS 0.11% JavaScript 0.83%
nextjs react

chat-fusion's Introduction

ChatFusion: Real-Time Messaging Redefined

Introducing a cutting-edge message web application that brings real-time communication to life. Our feature-packed platform offers seamless message notifications, stunning Tailwind-designed UI with animations, and full responsiveness across all devices. Enjoy secure credential authentication with NextAuth, along with easy integration with Google and GitHub authentication. Effortlessly upload files and images via Cloudinary CDN, and streamline form validation with react-hook-form. Handle server errors gracefully with react-toast, enable message read receipts, and track user status online/offline. Engage in group chats and one-on-one messaging, share attachments, customize user profiles, and fine-tune settings. Learn how to create, fetch, and delete data with POST, GET, and DELETE routes in our route handlers, and explore direct database access in server React components. Seamlessly manage relationships between server and child components in a real-time environment, and effortlessly create and oversee chat rooms and channels. Elevate your messaging experience with our feature-rich, user-friendly message web app.

Messenger

Key Features:

  • Real-time messaging using Pusher
  • Message notifications and alerts
  • Tailwind design for sleek UI
  • Tailwind animations and transition effects
  • Full responsiveness for all devices
  • Credential authentication with NextAuth
  • Google authentication integration
  • Github authentication integration
  • File and image upload using Cloudinary CDN
  • Client form validation and handling using react-hook-form
  • Server error handling with react-toast
  • Message read receipts
  • Online/offline user status
  • Group chats and one-on-one messaging
  • Message attachments and file sharing
  • User profile customization and settings
  • How to write POST, GET, and DELETE routes in route handlers (app/api)
  • How to fetch data in server React components by directly accessing the database (WITHOUT API! like Magic!)
  • Handling relations between Server and Child components in a real-time environment
  • Creating and managing chat rooms and channels

Prerequisites

Node version 14.x

Cloning the repository

git clone

Install packages

npm i

Setup .env file

DATABASE_URL=
NEXTAUTH_SECRET=

NEXT_PUBLIC_PUSHER_APP_KEY=
PUSHER_APP_ID=
PUSHER_SECRET=

NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=

GITHUB_ID=
GITHUB_SECRET=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

Setup Prisma

npx prisma db push

Start the app

npm run dev

Available commands

Running commands with npm npm run [command]

command description
dev Starts a development instance of the app

chat-fusion's People

Contributors

ishre-yash avatar

Stargazers

Kapil Thapa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.