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:
https://github.com/lechatthecat/JavaChatSPA
How to test the project
Prerequisites
- Java 11
- Maven 3.*
- Docker 20.10.6
- Docker-compose 1.29.1
How to run:
$ git clone https://github.com/lechatthecat/JavaChatSPA.git
$ cd JavaChatSpa
$ docker-compose up -d --build
$ npm i
$ npm run build
$ mvn clean package
$ mvn spring-boot:run
Working example:
https://chatboard.page/boards/lounge/0
Top comments (0)