Giter VIP home page Giter VIP logo

chat-app-client-v2's Introduction

Realtime Chat App with MERN stack (Frontend)

Introduction

This repo consists of the Frontend part of a Realtime Chat Application built with the MERN stack. I built it when I was trying to learn React and the stack for the first time. You can find the backend repo here.

Feature

  • JWT Authentication
  • One-on-one Private Chat where users can chat with others privately.
  • Create a room and start a Room Chat for users who want to broadcast messages to a specific group of users.
  • Real-time updates to conversation messages, user online/ offline, read/ unread status, user join/leave room to notify, etc.
  • Support both RWD and different themes with light and dark mode

Technologies

  • database - MongoDB
  • backend - Express.js & Node.js
  • frontend - React.js (with styled-components)
  • Real-time messages - Socket.io

Deploy

  • database: MongoDB Atlas
  • backend: Render
  • frontend: Netlify

Live Demo

https://sweet-bombolone-176d6a.netlify.app

Testing Account

username: Lenny Connolly
password: 12345678

username: Rachael Holloway
password: 12345678

Screenshots

Chat (Light mode) Imgur

Chat (Dark mode) Imgur

Chat (Mobile) Imgur

Create Room (Light mode) Imgur

Create Room (Dark mode) Imgur

Create Room (Mobile) Imgur

How to use

  1. Clone the repo

    git clone https://github.com/tsengm6h6/chat-app-client-v2.git
    
  2. Enter the directory

    cd chat-app-client-v2
    
  3. Install dependencies

    yarn install
    
  4. Change .env.example file

    • change file name to .env
    • go to https://multiavatar.com to create an account and get your avatar api key
    • change the VITE_SERVER_URL to your local server port (ex. http://localhost:5000 for server listening to port 5000)
  5. Run the app
    -> Please make sure the server for this app is running before running the client, check here to setup for the server.

    yarn dev
    

    The app will be automatically opened in your web browser and you can try it out.

chat-app-client-v2's People

Contributors

tsengm6h6 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.