A real-time chat app powered by Python, FastAPI, React JS, and Chat Engine. Users can authenticate, create group chats, send messages, and share attachments. The backend handles authentication and chat functionality, while Chat Engine provides websockets for seamless communication.
Ensure you have Node.js and npm installed on your machine
git clone https://github.com/wilson3centaurus/react-chat-app/
Add your .env
file in the frontend
folder, add the following with your ChatEngine.io Project ID (instead of XXXX
)
VITE_CHAT_ENGINE_PROJECT_ID=XXXX
Within your root folder react-chat-app
cd into backend and run the following line:
pip install -r requirements.txt
Within your backend
folder, add the following with your ChatEngine.io Private Key on line 15 (instead of XXXX
)
PRIVATE_KEY = "XXXX"
npm install # to install all packages
npm run dev # to start the website
Then, your website will be running at http://localhost:5173/