[JAVA] I tried JHipster 5.1

I found out about the existence of a framework called JHipster, so I tried it.


The site I referred to is here. https://www.jhipster.tech/installation/

This time I will use Vagrant box installation. https://github.com/jhipster/jhipster-devbox

vagrant init jhipster/jhipster-devbox

vagrant up --provider virtualbox

As a result, you will be able to use Ubuntu with various tools set up nicely. When you execute jhipster_default ~~ from VirtualBox, the following nice screen will appear. Screenshot_2018-07-15_03-35-41.png

Let's write a simple app (tutorial)

First, make an app. This time I chose React as the front end. https://www.jhipster.tech/creating-an-app/

Then create an Entity. At this time, set the item name and JPA Relationship interactively. https://www.jhipster.tech/creating-an-entity/

With this result, you can create an app that CRUDs nicely.


Fixing the problem

However, due to a problem specific to JHipster5.1, when saving the Many side of OneToMany, an Exception occurs on the server side and the save fails. This seems to have already been raised as an Issue. (Maybe fixed. Checking for a moment.) https://github.com/jhipster/generator-jhipster/issues/7967

Modification place

Add the following hidden parameter to the end of AvGroup.
    <AvInput id="book-author-id" type="hidden" name="author.id" value={this.state.authorId} />


It's easy to enter the entire development environment.

Recommended Posts

I tried JHipster 5.1
I tried Spring.
I tried tomcat
I tried youtubeDataApi.
I tried refactoring ①
I tried FizzBuzz.
[I tried] Spring tutorial
I tried running Autoware
I tried using Gson
I tried QUARKUS immediately
I tried Spring Batch
I tried node-jt400 (Programs)
I tried node-jt400 (execute)
I tried node-jt400 (Transactions)
I tried node-jt400 (Environment construction)
I tried DI with Ruby
I tried node-jt400 (IFS write)
I tried node-jt400 (SQL Update)
I tried JHipster 5.1
I tried using azure cloud-init
I tried Drools (Java, InputStream)
I tried Rails beginner [Chapter 1]
I tried the Docker tutorial!
I tried using Apache Wicket
I tried the VueJS tutorial!
I tried node-jt400 (SQL query)
I tried using Java REPL
I tried source code analysis
I tried the FizzBuzz problem
I tried node-jt400 (SQL stream)
I tried node-jt400 (IFS read)
I tried putting XcodeGen + SwiftPM
I tried Rails beginner [Chapter 2]
I tried UPSERT with PostgreSQL.
I tried BIND with Docker
I tried Jets (ruby serverless)
I tried metaprogramming in Java
I tried using anakia + Jing now
I tried Angular tutorial + SpringBoot + PostgreSQL
I tried to chew C # (indexer)
I tried something called recursive search
I tried using Spring + Mybatis + DbUnit
I tried using JOOQ with Gradle
[K8s] I tried communication between pods!
I tried a little digdag docker.run_options
I tried to summarize iOS 14 support
I tried to interact with Java
I tried UDP communication with Java
I tried to explain the method
I tried putting Domino11 in CentOS7
I tried the Java framework "Quarkus"
[Rails] I tried deleting the application
I tried using Java8 Stream API
I tried Java's micro-benchmark tool JMH
I tried using JWT in Java
I tried GraphQL with Spring Boot
I tried to summarize Java learning (1)
I tried to understand nil guard
[Android] I tried using Coordinator Layout.
I tried Flyway with Spring Boot
I tried using Pari gp container