Skip to content

GithubResources1/Chat-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Application

  • Frameworks and Language used

    • Spring Boot Framework

    • Java language

  • Data Flow

    • UserController

      • createUser( )
      • validateUserRequest( )
      • setUser( )
      • getUsers( )
      • login( )
      • validateLogin( )
      • updateUser( )
      • deleteUser( )
    • StatusController

      • createStatus( )
      • setStatus( )
    • ChatHistoryController

      • saveMessage( )
      • validateRequest( )
      • setChatHistory( )
      • getChatsByUserId( )
      • getConversationBetweenTwoUsers( )
    • UserService

      • saveUser( )
      • getUsers( )
      • login ( )
      • createResponse( )
      • deleteUserByUserId( )
      • updateUser( )
    • StatusService

      • saveStatus( )
    • ChatHistoryService

      • saveMessage( )
      • getChatsByUserId( )
      • getConversation( )
    • UserRepository

      • findByUsername( )
      • getUserByUserId( )
      • getAllUsers( )
      • deleteUserByUserId( )
      • save( )
    • StatusRepository

      • save( )
    • ChatHistoryRepository

      • getChatsByUserId( )
      • getConversation( )
      • save( )
    • CommonUtils

      • isValidPassword( )
      • isValidEmail( )
      • isValidPhoneNumber( )
  • Database Used

    • MySQL Database : chat_application_db

  • Project Summary

    In this project we have created 2 models namely;User, ChatHistory and Status. We have provided some endpoints and also in this section below we have given our API. Using this API we can perform the CRUD operations accordingly.

    End Points:

    • /status
    • /user/create-user
    • /user/get-users
    • /user/login
    • /user/update-user/{userId}
    • /user/delete-user/{userId}
    • /chat/send-message
    • /chat/get-chat
    • /chat/get-conversation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages