A chat app made with FastAPI under 10 days, which has tendancy to forget to decrpyt the messages.
Production is just to view the UI and the Code Runner. WebSockets don't work in Vercel.
- A full UI, with member count and an editor to write python code
- A full python code runner with the standard library
Just fork or clone this repo and open the folder, then run the below to commands,
#windows
py -m venv venv#linux
python3 -m venv venvActivate virutal environment
.\venv\Scripts\activateInstall dependencies
pip install -r dev-requirements.txtTo run the project,
uvicorn src.main:app --host '0.0.0.0' --port <any-port-number-you-want>Now visit localhost:<the-port-you-have-chosen>
Just fork or clone this repo and open the folder, then run this to build,
$ docker build -t projectimage .After it's built use this to run it.
$ docker run -d --name project_container_name -p 80:80 projectimageNow visit localhost
Just fork or clone this repo and open the folder, and uncomment line 45 and comment out line 47 in the src/static/js/script.js file,
And rename dev-requirements.txt to requirements.txt
Vercel can't do WebSockets so you can't use this with Vercel. but if your gonna do it anyway here are some instructions.
Fork and clone this. Edit the src/static/js/script.js file and uncomment line 47 and comment out line 45 and rename dev-requirements.txt to requirements.txt
then run this to deploy it to vercel,
$ vercel