Git Product home page Git Product logo

cardsplus / demoscs Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 10.28 MB

Self-Contained System mit Spring-Boot und Svelte-UI

Home Page: https://github.com/cardsplus/bootscs

Java 64.33% Dockerfile 0.21% HTML 1.46% JavaScript 6.04% Svelte 27.67% CSS 0.28%
scm svelte java javascript html css spring-data-jpa spring-data-rest spring-rest-docs jpa jackson lombok gradle asciidoctor spring-boot spring-webmvc cardsplus

demoscs's Introduction

README

Module

app/backend-api

Datenmodell für das Backend.

app/backend-test

Test-Support für das Backend.

app/server

Spring-Boot-Server mit einer HSQL-Datenbank.

Häufig gestellte Fragen

Code bauen und testen

./gradlew clean build

Code formatieren

./gradlew spotlessApply

Dokumentation bauen

./gradlew asciidoctor

Die Dokumentation befindet sich im pages-Ordner.

Server lokal starten

./gradlew bootRun

Der Befehl startet den Server im Vordergrund. Er ist im Browser unter localhost:8080 erreichbar. Er muss mit Ctrl-C beendet werden.

Mit der Umgebungsvariable LOGGING_LEVEL_ORG_HIBERNATE_TYPE kann die Ausgabe von Typinformationen gesteuert werden. Mit dem Wert TRACE werden bspw. die aktuellen Parameter von Statements ausgegeben.

Mit der Umgebungsvariable LOGGING_LEVEL_ORG_HIBERNATE_STAT kann die Ausgabe von Statistiken gesteuert werden. Mit dem Wert DEBUG werden bspw. die Kennzahlen von Statements ausgegeben.

Client lokal starten

npm --prefix app/client run dev

Der Befehl startet den Client im Vordergrund. Er ist im Browser unter localhost:5000 erreichbar. Er muss mit Ctrl-C beendet werden.

Docker-Images bauen und starten

./gradlew composeUp

Client und Server werden mit docker compose installiert und im Hintergrund gestartet. Der Server ist im Browser unter localhost:8080 erreichbar. Der Client ist im Browser unter localhost:5000 erreichbar.

Docker-Images entfernen

./gradlew composeDown

Client und Server werden mit docker compose gestoppt und entfernt.

Kubernetes-Ingress installieren

./gradlew installIngress

Der Ingress-Service wird mit helm installiert und im Hintergrund gestartet.

Kubernetes-Ingress entfernen

./gradlew uninstallIngress

Der Ingress-Service wird mit helm gestoppt und entfernt.

Kubernetes-Deployment installieren

./gradlew install

Docker-Images für die Anwendung werden aktualisiert. Die Anwendung wird mit helm installiert und im Hintergrund gestartet. Sie ist im Browser unter localhost erreichbar.

Kubernetes-Deployment entfernen

./gradlew uninstall

Die Anwendung wird mit helm gestoppt und entfernt.

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.