Giter Club home page Giter Club logo

antonioj-mattos / spring-boot-java-swing-reservations Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielmichalski/spring-boot-java-swing-reservations

0.0 1.0 0.0 4.02 MB

The project aims to present how to connect Spring Boot 3 and Java 17 Swing GUI widget toolkit. All application dependencies are provided by Docker Compose. There are also static code analysis tools like PMD and Checkstyle.

Home Page: https://www.danielmichalski.com

License: MIT License

Java 100.00%

spring-boot-java-swing-reservations's Introduction

Spring Boot Swing Reservations

Spring Boot Swing Reservations is a desktop application built on Java 17, Spring Boot 3, JPA/Hibernate, Docker, and Java Swing.
It shows how to integrate the Java Swing library with Spring Boot.

Spring Boot Swing Reservations

Build Status License: MIT

Documentation

The documentation is divided into several sections:

Prerequisites

Libraries

Library name Description
Spring Boot 3 Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".
Spring Data Repositories The JPA module of Spring Data contains a custom namespace that allows defining repository beans.
JPA (Hibernate) Hibernate ORM enables developers to more easily write applications whose data outlives the application process.
Swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
Liquibase Liquibase Community is an open source project that helps millions of developers rapidly manage database schema changes.
Lombok Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.
Docker Compose Compose is a tool for defining and running multi-container Docker applications.
Checkstyle Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard.
PMD PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.

Running the application

On Windows

## Run PostgreSQL database on Docker
docker-compose up -d

## Build application using Maven Wrapper
mvnw.cmd clean install

## Run Spring boot application using Maven Wrapper or simply run Application class
mvnw.cmd spring-boot:run

On MacOS/ Linux

## Run PostgreSQL database on Docker
docker-compose up -d

## Build application using Maven Wrapper
./mvnw clean install

## Run Spring boot application using Maven Wrapper or simply run Application class
./mvnw spring-boot:run

Database connection parameters

JDBC URL Username Password
jdbc:postgresql://localhost:5555/reservations reservations_user reservations_psw

Video presentation

Spring Boot Swing Reservations

Screenshots

alt text

alt text

alt text

alt text

alt text

alt text

spring-boot-java-swing-reservations's People

Contributors

danielmichalski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.