Get Started with JHipster 5

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 51

  • @memento9979
    @memento9979 6 років тому +6

    Mind blowing simple. This set of tools assembled is genius. Thanks for this nice introduction.

  • @hungkhanh5696
    @hungkhanh5696 5 років тому

    Very nice demo that completely show the overview of JHipster. Thank you

  • @AlfredoRuedaUnsain
    @AlfredoRuedaUnsain 6 років тому +1

    Thanks! Great introduction ♥️👏🙏

  • @vajohnifi3d
    @vajohnifi3d 6 років тому

    Thanks been waiting for months to get a new intro

  • @yoanncharpiot4778
    @yoanncharpiot4778 6 років тому +2

    Thank you Matt for this very valuable tut.
    Some remarks for people not using IntelliJ (even for them), it would have been great to have the equivalent using command line (to better understand what is launch in the background). Also I have subscribed to the start.jhipster.tech JDL space but there is no Blog template in it and it would have been nice to have the .jh file in your git repo to be able to import it for later users.

    • @mraible
      @mraible  6 років тому +1

      Yoann Charpiot The JDL file for this demo is included in this demo’s repo. You can see it at github.com/mraible/jhipster5-demo/blob/master/blog.jh.
      Thanks for the feedback about command line vs JDL. Personally, I don’t like doing command line in demos because it’s tedious and boring to watch IMO.

  • @surendranekkanti9254
    @surendranekkanti9254 6 років тому +2

    Hi, Nice tutorial. I just couldn't get my IntelliJ to show the play button. Could you point to some references on how I can set that up so it automatically starts the app?

    • @timlind3129
      @timlind3129 6 років тому

      Click Edit Configuration in the dropdown next to the play button, and enter the main class. g2g

    • @yoanncharpiot4778
      @yoanncharpiot4778 6 років тому +1

      It tooks me some times also to figure this out. I tried the Tim Lind solution but without success: It load the JHipster app but it seems not deploying all the npm stuff.
      I finally launch the app thanks to command line using the ./mvnw command and it work now. Don't know yet how to launch this command directly with IntelliJ.

  • @krishna444
    @krishna444 5 років тому +11

    simple but not easy!!

  • @ruhanrbx
    @ruhanrbx 6 років тому

    Thanks, very nice tutorial!

  • @fatihcomak9097
    @fatihcomak9097 6 років тому

    i followed all directions from this video but i can't sign in to my blog app. Don't accept admin:admin or user:user sign in informations. What i missed do you think? 3:46
    i have jdk or maven or cmd whatever i need.(os:windows 10)
    and i used "mvnw" command in .....\blog path with cmd by the way. nothing wrong with run BlogApp.

    • @mraible
      @mraible  6 років тому

      If your backend is running, I'm not sure what the problem could be. You might want to check your developer console in your browser to see if there's any errors. You could also try cloning the example from GitHub and making sure it runs for you: github.com/mraible/jhipster5-demo. You'll need to run "npm install" after cloning it, then start it with "mvnw".

    • @fatihcomak9097
      @fatihcomak9097 6 років тому

      thanks for helping me; but i tried that GitHub example too. Still not working.
      and i have a guess about my problem: my language of OS is Turkish and we have a "İ" character in our alphabet. So i m taking an error when i tried to mvnw command:
      Liquibase could not start correctly, your database is NOT ready: liquibase.exception.DatabaseException: Unknown data type: "¦NT"; SQL statement
      see :) any idea can be great for me

    • @mraible
      @mraible  6 років тому +1

      Fatih Çomak I’m sorry, but I’m not sure what the problem is. Maybe there’s a bug in JHipster. Can you please enter an issue on GitHub and include the steps to reproduce the problem? github.com/jhipster/generator-jhipster

    • @fatihcomak9097
      @fatihcomak9097 6 років тому +1

      sure, i fixed problem when i switched language from turkish to english on windows. that was probably about Liquibase. But i will try github.com/jhipster/generator-jhipster anyway :)

  • @layendiaye7366
    @layendiaye7366 5 років тому

    HI Matt that's very nice tuto. How can i add my own template to project generated by jhipster?

    • @mraible
      @mraible  5 років тому +1

      If your theme is based on Bootstrap, it shouldn't be too difficult. You'll probably have to modify a bunch of HTML and CSS to make it work. If your theme is not based on Bootstrap, it's still possible, but I'd wait until after your app is finished. Otherwise, every time you generate new entities, you'll need to update the generated templates to use your themes classes and such.

    • @layendiaye7366
      @layendiaye7366 5 років тому

      @@mraible thanks for your quick reply. It's ace template there is css files and js files

  • @iamsonnyTV
    @iamsonnyTV 5 років тому

    Cool! Thank you!

  • @hurle0409
    @hurle0409 5 років тому

    @Controller directly accessing to @Repository? Is it anti pattern? where is business layer?

    • @mraible
      @mraible  5 років тому

      Хүрэлхуяг Магсар JHipster allows you to generate service classes so you can implement this pattern if you like. This example didn’t have any business logic that required it.

  • @aicochow
    @aicochow 5 років тому

    looks like powerful tool

  • @useruser-yd5yy
    @useruser-yd5yy 6 років тому

    Question : I want to use service worker I uncomment the script in index.html but when I try to run "./mvnw" and the "service-worker.js" doesn't created even with "npm run webpack:build " .Could u help me plz .
    Thanks in advance.

    • @mraible
      @mraible  6 років тому

      rida ham You need to run/build your app with the “prod” profile for PWA support to work. There should be documentation for this in your project’s generated README file.

  • @ikbelbenabdessamad4277
    @ikbelbenabdessamad4277 6 років тому

    thanks for this amazing tuto !! is there any way to regenerate entities using another file-name.jh file?

    • @mraible
      @mraible  6 років тому

      Yes, just create another .jh file and import it.

    • @ikbelbenabdessamad4277
      @ikbelbenabdessamad4277 6 років тому

      the old file will be dropped?

    • @mraible
      @mraible  6 років тому

      No, that's why you should check your project into Git. Then you can undo creating entities.

    • @ikbelbenabdessamad4277
      @ikbelbenabdessamad4277 6 років тому

      I uploaded your project into my eclipse oxygéne IDE, but rather than using postgress I would like to use MySQL, how can I change it ??

    • @ikbelbenabdessamad4277
      @ikbelbenabdessamad4277 6 років тому

      what are the required dependencies I have to add , thanks In advance :)

  • @mukut5ul
    @mukut5ul 5 років тому

    Where is metrics controller and services Java code?

    • @mraible
      @mraible  5 років тому

      The source code for this tutorial is at github.com/mraible/jhipster5-demo.
      Services are in github.com/mraible/jhipster5-demo/tree/master/src/main/java/org/jhipster/blog/service
      Metrics configuration is in github.com/mraible/jhipster5-demo/blob/master/src/main/java/org/jhipster/blog/config/MetricsConfiguration.java

  • @chenchi6623
    @chenchi6623 6 років тому

    Wow very powerful platform...

  • @maksimmuruev423
    @maksimmuruev423 6 років тому

    Question. What will happen with a new version came out? How to upgrade existed project? Or if I want change test DB from H2 to PG like this example. Will the generator fails? Monolith to microservice migration?

    • @mraible
      @mraible  6 років тому

      > Upgrading
      You can use “jhipster upgrade” to upgrade between minor (not major) releases. If it doesn’t work, check your project into Git, then run “rm -rf *” in your project, followed by “jhipster -with-entities”.
      > To change your database
      Change the database type in your .yo-rc.json file, run “rm -rf *”, then “jhipster”. Add “-with-entities” if you’ve generated entities already.
      > monolith to microservice
      Same steps as above, but change application type in your .yo-rc.json.
      Hope this helps!

    • @maksimmuruev423
      @maksimmuruev423 6 років тому

      Thanks. As I undestood no hope upgrade between majors? Why I'm asking because it updates so rapedly and start project on stack which will be outdated in year, kinda uncertaint

    • @mraible
      @mraible  6 років тому

      Maksim Muruev It’s possible upgrading will work between major versions if things don’t change a lot. For example, I was able to upgrade my 21-Points Health app from JHipster 4 to 5 in a few hours.
      You can always manually by generating a new project and using a diff tool to compare your existing project with the new one. I like SmartSynchronize.
      As far as being outdated in a year, that could happen with any full stack app. You don’t *have* to upgrade. ;)

    • @maksimmuruev423
      @maksimmuruev423 6 років тому

      So this is still the big issue. Nobody want do this like start from scratches and port it. Seems like 'jhipster' only for 'pet' projects.

    • @mraible
      @mraible  6 років тому +1

      If you don’t use JHipster, you should still keep your dependencies up to date and upgrade yourself. Outdated dependencies can be a risky security vulnerability.
      I think JHipster works well; if you’d like to help make it better, there’s always room for improvement.

  • @damiank4740
    @damiank4740 6 років тому

    Hello everyone,
    I have got a problem when deploying to heroku.
    I have herkou installed (when typing heroku --version - heroku/7.14.4 win32-x64 node-v10.9.0).
    Even though I am getting an arror message that I haven't installed heroku cli ( You don't have the Heroku CLI installed. Download it from cli.heroku.com/
    ). Anyone had this problem? Thanks.

  • @Arrezzz
    @Arrezzz 5 років тому +1

    Holy shit i'm drowning in errors while doing this.

    • @mraible
      @mraible  5 років тому

      Arasto Sahbaei What kind of errors? Maybe I can help?

  • @lightwind9971
    @lightwind9971 5 років тому

    Can i have your bash profile config sir :3

    • @mraible
      @mraible  5 років тому

      Quang Đặng I’m not sure how that would help you. Are you looking for an alias definition or something else?

    • @lightwind9971
      @lightwind9971 5 років тому

      @@mraible I see that your bash cursor, the color and the way that it showing directory or the program like git. It's good for looking so comfortable sir. Can i have your config to make my bash shell like that.

    • @mraible
      @mraible  5 років тому

      Quang Đặng That’s Oh My ZSH! github.com/robbyrussell/oh-my-zsh
      It has nice themes and plugins. JHipster even has a plug-in for it: www.jhipster.tech/oh-my-zsh/

    • @lightwind9971
      @lightwind9971 5 років тому

      @@mraible Thank you sir, see for your next video, :D

  • @renesolis2604
    @renesolis2604 5 років тому

    promising