A refactoring of the beloved Spring Petclinic to a skill matrix project.
Here developers of a company can enter and rate their skills. Other people can search for skills and see which person has these skills.
You can run it from Maven directly using the Spring Boot Maven plugin. Without any profile we use a H2 database.
./mvnw spring-boot:run
You can then access it here: http://localhost:8080/
First start the database
docker run -p 5432:5432 --name skillmatrix-postgres -e POSTGRES_USER=sm_user -e POSTGRES_PASSWORD=sm_pw -e POSTGRES_DB=skillmatrix-db postgres
then start the app
./mvnw spring-boot:run -Dspring-boot.run.profiles=postgres
./mvnw clean package
docker build . -t skillmatrix:latest
docker run -p 8080:8080 skillmatrix
- Java 17
- Maven 3.8.2
- Spring Boot 2.5.5
- Thymeleaf
- Bootstrap 5
- Tokeninput: https://loopj.com/jquery-tokeninput/ (Demos: https://loopj.com/jquery-tokeninput/demo.html)
- darkmode from https://blog.shhdharmen.me/toggle-light-and-dark-themes-in-bootstrap and https://bootswatch.com/cyborg/
Run postgres DB in docker container:
docker run -p 5432:5432 --name skillmatrix-postgres -e POSTGRES_USER=sm_user -e POSTGRES_PASSWORD=sm_pw -e POSTGRES_DB=skillmatrix-db postgres
skillmatrix-postgres
is the container nameskillmatrix-db
is the name of the databasepostgres
is the image name pulled from docker