Code Monkey home page Code Monkey logo

talker's Introduction

Talker Chat Application

Talker is a chat application built using PHP, MySQL, and JavaScript. Users can create accounts and then chat with other users in real time.

Features

  • Create a new account
  • Log in and log out
  • Chat with other users
  • View chat history
  • Real-time chat updating
  • Protected against SQL injection
  • Automatic deletion of all files and database data (except user account information) every 3 hours

Requirements

  • PHP 7.0 or higher
  • MySQL 5.7 or higher
  • Web server (e.g. Apache, Nginx)

Installation

To use Talker, you will need:

  1. Clone this repository to your web server using git clone.
  2. Update the $databaseName variable in the PHP files to match your MySQL database settings.
  3. Ensure that you have established a connection with MySQL. Once you have done so, check the console in index.php to verify whether the database initialization was successful.
  4. decide if you want to use tokens, if you choose to create tokens generate them if not comment on parts of code in dbOperations/CreateTokens.php and Pages/UserAuth.php

Usage

  1. Create a new account by entering a username and password on the registration page.
  2. Login using your newly created account.
  3. Chat with other users in real time on the chat page.
  4. View chat history by scrolling up in the chat window.

Contributing

If you would like to contribute to the Talker project, please follow these steps:

  1. Fork the repository and create a new branch for your changes.
  2. Make your changes and test them locally.
  3. Submit a pull request with a description of your changes.

Automatic Deletion

Talker includes a feature that automatically deletes all files and database data (except user data) every 3 hours to protect users' privacy. The code in ServerSideOperations/CheckDateForWipeOut.php controls this feature. To change the time interval, update the equation in the CheckDateForWipeOut.php file.

talker's People

Contributors

wodosharlatan 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.