Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

WebSocket Example

This project was bootstrapped with Create React App.

Server

The server is implemented with FastAPI. First, install the dependencies:

pip install fastapi "uvicorn[standard]"

And then, run it:

uvicorn run:app 

A server in the localhost:8000 must be created.

Client

The client is implemented usign React and Recharts.

Go to the frontend directory:

cd frontend

Install the dependencies:

yarn install

And run it:

yarn start

Open the browser in localhost:3000 and you must see a chart being updated every second.

About

WebSocket example with FastAPI and React.

Resources

Stars

46 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages