Git Product home page Git Product logo

swiftchat's Introduction

Introduction:

Welcome to our real-time messaging software built using Java Swing. This project was developed by a team of 5, including Kenza Erraji, Gabriel Trier, Esteban MAGNON, Ines Benabdeljhalil, and Alexandre CURTI. Our application consists of a client and a server, which can be built into two jar files to enable easy launching of the program.

How to Install:

  1. Clone or download the repository from GitHub.
  2. Open the project in your preferred Java IDE (we used IntelliJ IDEA for this project).
  3. Enter the IP address of the server and credentials of your database computer in the server code.
  4. Enter and OPENAI API Key if you want to use one (Go to ConversationWindow class).
  5. Build the project to generate the client and server jar files.
  6. Launch the server jar file on a computer that will act as the server. You can do this by running the following command in the terminal: java -jar server.jar
  7. Launch the client jar file on two different computers to start chatting. You can do this by running the following command in the terminal: java -jar client.jar
  8. Start messaging in real-time!

How populate database ?

Please go to server main, in "danger zone" you will have 3 options :

  • Clear current database
  • Create database tables
  • Populate all the tables with test data (can be customized)

Features:

  • Real-time messaging between multiple clients connected to a server.
  • User-friendly GUI designed using Java Swing.
  • Support private chat and group chat.
  • Usernames and Timestamp displayed alongside messages for easy identification.

Contributing:

We welcome contributions to this project. Feel free to fork the repository and make changes. If you find any bugs or issues, please open an issue on GitHub.

License:

This project is licensed under the MIT License. Please see the LICENSE.md file for more details.

swiftchat's People

Contributors

whyiest avatar kenzaerraji avatar gabrieltrier avatar alexandrecurti avatar

Stargazers

 avatar

Watchers

Nicolas Mauti avatar  avatar  avatar

Forkers

gabrieltrier

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.