I made this when I thought I wanted to move to Germany and get a Java job lol
This repository has been archived on 2026-02-24. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Java 43.9%
  • TypeScript 43.3%
  • HTML 11.6%
  • CSS 0.7%
  • JavaScript 0.5%
Find a file
2018-11-15 08:39:53 +01:00
src Removed unused constructor 2018-11-15 08:39:53 +01:00
.gitignore Workaround to remove compiled ts from git 2018-11-14 12:59:25 +01:00
LICENSE Add License 2018-11-02 10:28:51 +00:00
mvnw Initial commit 2018-11-02 11:27:39 +01:00
mvnw.cmd Initial commit 2018-11-02 11:27:39 +01:00
pom.xml Added WebSocket way of receiving messages 2018-11-06 08:53:38 +01:00
README.md Added initial README 2018-11-14 13:19:22 +01:00

Spring Webchat

A very simple, self-contained chat webapp written in Java with Spring at the backend, and in TypeScript with Bulma and jQuery on the frontend.

It uses HTTP requests for setting user names and sending messages, but a websocket and STOMP based approach for receiving them.

Goals of this project

My main objective with this is to learn the Spring Framework.

However, since I want to learn one Spring component after another, the Spring Security aspect was skipped for now; as such, this project can also serve as an example for identifying users based on HTTP sessions without using Spring Security (which might be overkill if you're just creating a small project or want to focus on other parts of the framework).

It also shows a way to handle simple STOMP authentication based on those HTTP sessions (not a very beautiful one, but better than nothing).

Other details

The client-side technologies were chosen here because I'm already familiar with them, so I don't have to think about them and can focus on learning how to use Spring.