Giter Site home page Giter Site logo

lucasmrl / chat-app Goto Github PK

View Code? Open in Web Editor NEW
40.0 3.0 18.0 770 KB

A chat app built with Node.js, Socket.io, React.js, and Tailwind CSS.

Home Page: http://chat-app-on.herokuapp.com/

License: MIT License

HTML 12.59% JavaScript 86.16% CSS 1.25%
javascript socket-io tailwindcss nodejs react

chat-app's Introduction


Chat-app 🦜

A chat app built with Node.js, Socket.io, React.js, and Tailwind CSS.

View Demo · Report Bug · Request Feature

About The Project

Chat-app🦜

A real-time app to exchange messages with connected users. Built for learning purposes. This was the first time using Socket.io, so I decided to follow their tutorial to create a chat app and I added a few of the suggested features.

Built With

  • Node.js
  • Socket.io
  • React.js
  • Tailwind CSS

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

You need to have npm installed.

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/lucasmrl/chat-app.git
  2. From the root, install NPM packages
    npm install
  3. From the CLIENT directory, install NPM packages
    npm install
  4. Run the project using this command:
    npm run dev

Deploy (Example using Heroku)

  • uncomment lines 10-13 from "server.js"
     // app.use(express.static(path.join(__dirname, "client/build")));
     // app.get("/*", function (req, res) {
     //   res.sendFile(path.join(__dirname, "client/build", "index.html"));
     // });

Features

  • Support for nickname
  • Message to connected users when someone connects or disconnects
  • List with online users
  • Private messages
  • Mobile friendly

Future improvements

  • Add “{user} is typing” functionality.
  • Support for changing avatar image
  • Option to create/join different "rooms"
  • Add rich text editor
  • Add support for videos, images, and GIFs.

License

Distributed under the MIT License. See LICENSE for more information.

chat-app's People

Contributors

lucasmrl avatar dependabot[bot] avatar

Stargazers

尼采般地抒情 avatar Terry Zhang avatar علی به نیک avatar  avatar Modar Aljazzaa avatar Wildan Zulfikar avatar  avatar Alon E avatar Mark avatar ASHUTOSH KUMAR avatar Hesam Yusefpur avatar Kanei Nakashima avatar Nurul Akbar al-Ghifari avatar Hamza Iqbal avatar saif hany avatar Elijah R. avatar Faisal N avatar Jose Abraham Garcia avatar  avatar Abdullah Al Mashmoum avatar Neos21 avatar Igor avatar Christian Cito avatar  avatar Justin Sisley avatar Oleksandr Starnikov avatar  avatar Christian Boyle avatar Rajmohan avatar 爱可可-爱生活 avatar Haoliang Chen avatar  Animesh  avatar Alohe avatar Jeff Browning avatar Daniel Navarrete avatar Javed Khan avatar Alex Booker avatar  avatar Mcvean Soans avatar Michael Kremenetsky avatar

Watchers

James Cloos avatar xiggi avatar  avatar

chat-app's Issues

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.