Build a 🔥 Chat App with FastAPI and React JS (👾 Discord Clone)
HTML-код
- Опубликовано: 21 авг 2024
- Learn how to build a COMPLETE chat app with FastAPI, Python and React JS. You'll learn about APIs, web-hooks, Python + JS, NPM components, CSS and more!
Copy and paste lots of the code to save time and learn quickly too!
Setup a Chat Engine project: chatengine.io
Python Code:
Main.py github.com/ala...
Chat Engine’s API Docs: rest.chatengin...
request.rest file: raw.githubuser...
React Code:
chatsPage.js github.com/ala...
authPage.js github.com/ala...
App.js github.com/ala...
Chat Engine’s Docs: chatengine.io/...
basically, you don't create the chat app backend service, the chategnine does.
Great tutorial! But, I wanted to share that instead of 'npx create-react-app', I made my client side with 'yarn create vite' and I chose react in typescript it worked too. Thank you! ☺
That's great 😍
wonderful tutorial, you should also do a tutorial on creating some of the backend as well, with like django, making this a complete project as right now its more focused on the frontend
I'm excited to learn more about Chat Engine. But the audio of this video is very quiet. I have my phone volume set to maximum, and I still can't hear you unless the speaker 🔊 is right next to my ear. So I can't watch and listen at the same time.
How to deploy it on a live hosting server?
can this "react-chat-engine" be customisable , and use my own backend and database?
Yup! In the docs
for some reason I have two scrollbars when I tried rendering the chatpage idk why... need help
How to do deploy?
why does source venv/bin/activate not work
It says it's not a location:C
venv\Scripts\Activate (Activate.bat is windows)
getting an error when i try to run this in the terminal "source venv/bin/activate" it says the term source is not recognized
Windows or Mac
1.python -m venv myenv
2. myenv/scripts/Activate.ps1 or activate.bat
🙁 U use sync lib in async context
where can i get the python?