Skip to content

praveen5566/react-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Chat Application using React Hooks.

  • To start the application npm install Node dependencies and run npm start.
  • This will run the chat application on port 3000 or Open http://localhost:3000 to view it in the browser.
  • To start the api server run npm run api-server. This will start the server on port 8080.
  • There are few lint errors with react-hooks/exhaustive-deps which can be resolved by following this pattern.
  • Adding unit tests, integration tests, logging and tracking functionality can be a good addition to maintain the code base.
chat-app

Available Scripts

In the project directory, you can run:

npm start

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

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run api-server

This will run a simple api server.

npm test

Launches the test runner.
See the section about running tests for more information.

npm run test:debug

Before running this, place debugger; statements in any test and run.
This will start running your Jest tests, but pause before executing to allow a debugger to attach to the process. Open the following in Chrome about:inspect

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

Simple Chat Application Using React Hooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published