Git Product home page Git Product logo

chat's Introduction

chat# Chat App Backend (Spring Boot + MySQL)

This repository contains the backend code for a simple chat application built with Spring Boot and uses MySQL as the database. The backend provides RESTful API endpoints for user authentication, managing user profiles, and sending/receiving messages in real-time using WebSocket.

Table of Contents

Getting Started

This chat app, offers user registration via name and email, with email-based login. It simplifies friend connections through names and supports private messaging. This Chat App is built on a robust tech stack. Its backend relies on the Spring Boot Java framework, ensuring scalability and security. The frontend is developed using React for a dynamic user interface. Data is stored and managed using MySQL, ensuring reliability and efficient data retrieval.

preview

Log in page used  a slider and a registration form Log in page used  a slider and a registration form Log in page used  a slider and a registration form Log in page used  a slider and a registration form

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Java Development Kit (JDK) installed (e.g., OpenJDK 11)
  • MySQL database server installed
  • Your favorite Integrated Development Environment (IDE) for Java (e.g., IntelliJ IDEA, Eclipse)
  • Maven for managing dependencies

Installation

  1. Clone the repository:

    https://github.com/SabbirIrfan/chat/
  2. Open the project in intellij .

Configure your MySQL database connection in src/main/resources/application.properties. You can use the following properties as a starting point: properties

spring.datasource.url=jdbc:mysql://localhost:3306/"YOUR_DATA_BASE_NAME"

spring.datasource.username=your_username

spring.datasource.password=your_password

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver


Build and run the application from your IDE :

run chatsystemApplication.java

or using the following command:

sh

mvn spring-boot:run

Chat App FrontEnd

Getting Started with Create React App

This project was bootstrapped with Create React App.

Installation

npm install

npm audit fix --force

nvm install v16

npm start

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

chat's People

Contributors

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