Skip to content

A real time chat room app using sockets, fast api and react.js

Notifications You must be signed in to change notification settings

ericq/fastapi-chatroom-sockets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup and Run locally

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.7+ based on standard Python type hints.

for server

Install the dependencies

pip install -r requirements.txt

Run the backend server

uvicorn main:app --reload --host 0.0.0.0 --port 8000

for client

Install the dependencies

npm i

Start the server

npm start

Build & run the docker image

  • for backend
docker build -t server .
docker run -d -p 8000:8000 server
  • for client
docker build -t client .
docker run -d -p 3000:3000 client

About

A real time chat room app using sockets, fast api and react.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 32.7%
  • CSS 27.4%
  • Python 18.2%
  • Dockerfile 12.5%
  • HTML 9.2%