Skip to content

backend of chat application written in Java using Javalin (web framework), active-jdbc, sqlite-jdbc

Notifications You must be signed in to change notification settings

dery96/java-server-smcebi-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Smcebi Chat Server

this is simple server chat application for university java project using:

  • Websocket for chat communication
  • WebRTC for microphone and video communication
  • HTTP requests

Package that we use:

  • Javalin (Server that handles websocket and http requests)
  • sqlite-jdbc for sqlite database communication
  • active-jdbc sqlite3 ORM

Api:

POST

/account/login/ require: login, password
/account/new/ require: name, password, nickname gender (M or F)
/account/change/password/ require: token, user_id, password, newPassword
/account/change/nickname/ require: token, user_id, password, newNickname
/user/all/ require: token
/channel/all/ require: token
/channel/new/ require: token, name, owner_id, size
/channel/delete/ require: token, user_id, channel_id
/token/test/ require: token (ExpireSessionTest if expired then RefreshToken)
/token/refresh/ require: token

GET

About

backend of chat application written in Java using Javalin (web framework), active-jdbc, sqlite-jdbc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published