Skip to content

vincanger/websockets-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Websockets with React & NodeJS

This example app is part of a tutorial on How to build a real-time voting app with WebSockets, React, & Typescript.

You can read the tutoiral here.

wasp websockets app

You can also check out the Wasp version of this app, which makes building with WebSockets even easier, as Wasp takes care of most of the boilerplate associated with building a full-stack React/NodeJS app.

Running the app

Install the server dependencies

cd ws-server 
npm install
npm i --save-dev @types/cors

Run the server

npm run start

Install the client dependencies

cd ws-client
npm install

Run the client

npm run dev

Need Help?

Read the tutorial: How to build a real-time voting app with WebSockets, React, & Typescript.

Join the Wasp Discord server and ask questions there. We are happy to help!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published