DEV Community 👩‍💻👨‍💻


Posted on

SPA with Springboot+JWT+Vue.js+Web socket

As I wrote before, I made a SPA with Springboot+JWT+Vue.js+Web socket, but only a few people tested it, maybe because, to test the project, people needed to prepare Postgresql by themselves. It is really tiring to install and init DB. Even worse, it is also tiring removing DB once it is installed.

So, today, I moved the Postgresql DB in docker container. And if you want to test my project, you can do the preparation almost automatically. And it is very easy to remove containers after testing.

You can test the project from here:

How to test the project


  • Java 11
  • Maven 3.*
  • Docker 20.10.6
  • Docker-compose 1.29.1

How to run:

$ git clone
$ cd JavaChatSpa
$ docker-compose up -d --build
$ npm i
$ npm run build
$ mvn clean package
$ mvn spring-boot:run
Enter fullscreen mode Exit fullscreen mode

Working example:

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.