Chatter is a simple chat application that allows users to chat with each other in real-time. It is built using React and Flask.
Tutorial: Build the best Chat App with Python, JavaScript & Chat Engine
- Create a empty directory and navigate to it.
- Clone the repository:
git clone https://github.com/alamorre/js-chat-website.git frontend - Navigate to the frontend directory:
cd frontend - Install the dependencies:
npm installand run the application:npm run dev - Open a new terminal and navigate to the root directory of the project.
- Create backend directory:
mkdir backendandcd backend. - Create a virtual environment:
python -m venv venv(Windows) and activate it:source venv/Scripts/activate(Windows) orsource venv/bin/activate(Mac/Linux). - Install the dependencies:
pip install fastapi "uvicorn[standard]" requests. - Run the backend server:
uvicorn main:app --reload --port 3001.
