Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.12/apache-maven-3.9.12-bin.zip
14 changes: 14 additions & 0 deletions modern-frontend-complexity-alternative/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM maven:3.9-eclipse-temurin-25-alpine AS build

WORKDIR /build

COPY pom.xml .
COPY src/main/java ./src/main/java
COPY dist/src/main/resources ./src/main/resources

# reuse deps across builds
RUN --mount=type=cache,target=/root/.m2 mvn clean package

FROM eclipse-temurin:25-jre-alpine
COPY --from=build /build/target/modern-frontend-complexity-alternative.jar modern-frontend-complexity-alternative.jar
ENTRYPOINT ["java", "-jar", "modern-frontend-complexity-alternative.jar"]
43 changes: 43 additions & 0 deletions modern-frontend-complexity-alternative/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Modern Frontend Complexity Alternative

A simpler approach to build web apps with all the expected features:
* fast load times
* native-like, smooth transitions between pages
* high degree of interactivity; most user actions should feel fast
* real-time validation, especially for complex forms and processes
* great development experience - ability to quickly see and validate UI changes
* ability to create, share and use UI components
* testability - does it work?
* translations, internationalization
* ??

For local development we need:
* Java 25
* node (TailwindCSS management)

For building & packing, Java is not required but Docker must be present.

For local development, run:
```
./mvnw spring-boot:run
```
To have reloadable backend; in other terminal run
```
npm ci

cd ops
./live-css-gen.sh

≈ tailwindcss v4.2.2

Done in 93ms
Done in 169µs
Done in 4ms
```
To have CSS classes (thanks to the use of Tailwind) to be live-generated.

TODO:
* recheck dev instructions
* input live validation?
* some tests

295 changes: 295 additions & 0 deletions modern-frontend-complexity-alternative/mvnw

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading