Coder Social home page Coder Social logo

tandao01262000 / cmpe148-chat-app Goto Github PK

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

License: MIT License

Python 98.17% HTML 0.41% Shell 0.02% Nushell 0.01% PowerShell 0.01% C 0.45% Jinja 0.15% CSS 0.25% JavaScript 0.35% GAP 0.05% Cython 0.09% C++ 0.04%

cmpe148-chat-app's Introduction

Real-Time Chat App with Django Channels

This is a simple real-time chat application built by Potato Power Team using Django Channels for the backend and HTML, CSS, and Vanilla JavaScript for the frontend. It allows users to engage in real-time chat conversations with others.

Team Members:

  • Choyee Myae
  • Nhan Ha
  • Nitisuk Tatiyasuntorn
  • Tan Dao

Features

  • Real-time chat with WebSocket support.
  • User authentication and registration.
  • Chat rooms for organizing conversations.
  • Simple and intuitive user interface.

Technologies Used

Prerequisites

Before running this application, ensure you have the following prerequisites installed:

  • Python 3.9 or higher
  • Django
  • Channels
  • Docker
  • Redis (for WebSocket support)

Getting Started

  1. Clone and setup
    1. Clone the project's repository Run git clone https://github.com/your-username/chat-app.git

    2. Set up a virtual environment

      1. Install "virtualenv" library Run pip install virtualenv

      2. Create a virtual environment virtualenv <env_name> (replace <env_name> with the name you'd like to give to your virtual environment)

      3. Activate the virtual environment by running the following command:

        ``<env_name>\Scripts\activate`` for Window
        
         ``source <env_name>/bin/activate`` for Unix or Linux
        
      4. Install dependencies pip install -r requirements.txt

      5. Run the Redis server: docker run --rm -p 6379:6379 redis:7

      6. Run the application:

      Note: Make sure you are in the folder contains the file called "manage.py"

        python manage.py runserver

cmpe148-chat-app's People

Contributors

tandao01262000 avatar choyeemyae avatar nhantrungha avatar

Stargazers

 avatar

Watchers

 avatar

cmpe148-chat-app's Issues

bug

message option(#) is showing in the chat room, need to remove it

login

after login, it should go to home page that shows chat rooms

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.