Giter VIP home page Giter VIP logo

chat-app's Introduction

My chap App

Real-time React app server and built with express and socket io

npm install

node version 12 or greater.

npm run start:dev

Run develop mode.

Uses webpack-dev-server to build and serve the app (hot reload it's available), it opens automatically on the browser.
.env.dev config environment variables.

npm run server:dev

Builds the app for development to the public folder, it's severed by express, hot reload it isn't available.
.env.dev config environment variables.

npm run server:prod

Runs and build the app in the production mode.

npm run test

Runs all the tests in the App, Jest + Enzyme.

npm run test:watch

Runs all the tests in the App in 'watch' mode.

Features

  • Chat page

    • User’s messages on the right
    • Other user’s messages on the left
    • Message display the time it was sent
    • Users can send pictures via URL, valid images' format jpg, png, and gif.
  • Settings page

    • Usar can config it's userName, time format, and shortcut.
    • All settings are consumed and saved on the LocalStorage.
    • Button to reset all the settings back to its defaults.

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.