Coder Social home page Coder Social logo

wilson3centaurus / react-chat-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 12.16 MB

This is a fully functional chat webapp built using the and flexibility of React.js, Python, FastAPI and ChatEngine

HTML 0.01% CSS 0.01% JavaScript 0.05% Python 99.64% C 0.05% PowerShell 0.23% Batchfile 0.01%
authentication chat-application chatengine chatengineapi fastapi python react reactjs webapp webapplication

react-chat-app's Introduction

JS Chat Website ๐Ÿ’ฌ

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.

1. Clone this repository

Ensure you have Node.js and npm installed on your machine

git clone https://github.com/wilson3centaurus/react-chat-app/

1. Add .env file

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

2. Install the python required packages in requiremnets file

Within your root folder react-chat-app cd into backend and run the following line:

pip install -r requirements.txt 

3. Add your ChatEngine.io Private key

Within your backend folder, add the following with your ChatEngine.io Private Key on line 15 (instead of XXXX)

PRIVATE_KEY = "XXXX"

4. Run the code!

npm install # to install all packages
npm run dev # to start the website

Then, your website will be running at http://localhost:5173/

Screenshots

Screenshot 2024-04-13 122928 Screenshot 2024-04-13 122747

Author

Tafadzwa Wilson Sedze Github link

react-chat-app's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.