Skip to content

mengnans/react-chat

Repository files navigation

React-chat

A lightweight react chat widget.

Prerequisite

Make sure you have node and npm installed.

Supported platforms

Windows, Mac, Linux

Running this project locally

Use yarn

Under the project root directory

  • Firstly run yarn install
  • Then run yarn start

The project will start on port 8080.

Use docker

Under the project root directory

  • Firstly run make build (sudo permission required)
  • Then run make serve (sudo permission required)

The project will start on port 8080.

Available scripts

yarn lint

Runs eslint on all the js files

yarn lint-fix

Runs eslint on fix linting issues within the js files

yarn test

Runs jest and enzyme tests.

yarn start

Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.

yarn build

Builds the app for production to the dist folder.

make build

Builds the docker image

make serve

Runs the docker image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors