chatapp_vannilajs

Backend Code(Fast API- python)

Instructions to run backend Code

  • clone the backend repo
  • create virtual env and install fastapi, uvcorn, sqlalchemy, pymysql
  • create a db in mysql workbench copy the link to it and paste it in backend main.py file
  • run the backend using uvicorn main:app
  • backend will run in http://127.0.0.1:8000 , docs are accessible in http://127.0.0.1:8000/docs
  • image

Instructions to run frontend

  • open the html file after cloning this repo

Demo

  • view of User A when chatting with user B

  • image
  • view of User B when chatting with user A

  • image