Skip to content

A simple collaborative document editing app built with React and Node

License

Notifications You must be signed in to change notification settings

codezri/react-node-websockets-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-node-websockets-demo

A simple collaborative document editing app built with React and Node

How to run the app?

#-- Setup and start the server
cd server
npm install # or yarn install
npm start # or yarn start

#-- Setup and start the client
cd client
npm install # or yarn install
npm start # or yarn start

License

MIT

Credits

This project was initially forked from the AvanthikaMeenakshi/node-websockets repository and implemented according to this LogRocket blog post.

Credit goes to the original author Avanthika Meenakshi who developed the original version.

Changelog

This project has the following changes compared to the original project.

  • Upgraded the React version to 18
  • Refactored the client app using multiple functional components
  • Refactored the server app using multiple functions and handlers
  • Used better dependencies and implementations (i.e., ws instead of websocket, uuid instead of Math.random, etc.)
  • Used the react-use-websocket hook/library instead of directly using the inbuilt WebSockets browser API.
  • Fixed several bugs

About

A simple collaborative document editing app built with React and Node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published