JHipster Online

Build Status Docker Pulls

JHipster Online is a Web application that allows to generate JHipster applications without installing JHipster on your machine.

This is an Open Source project (Apache 2 license) that powers the https://start.jhipster.tech/ website.

You can use https://start.jhipster.tech/ for free, but if you find a bug or need a specific feature, you are welcome to contribute to the project. You can also choose to clone or fork the project, and have your own version that is hosted within your company.

Quick start guide

JHipster Online is a JHipster application, so you can follow the JHipster documentation to learn how to configure and set up JHipster Online.

This quick start guide uses the default configuration that comes with JHipster Online: please read the next section for details on configuring the application.

yarn install && yarn start
docker-compose -f src/main/docker/mysql.yml up -d

Specific configuration

This section covers what is specific to JHipster Online over a normal JHipster application.

For standard JHipster configuration, the JHipster common application properties will probably be very useful.

JHipster installation and execution

JHipster Online generates a JHipster application by running the jhipster command line. In order for that command line to work, you need to have JHipster installed on your machine.

We recommend you use the "Yarn installation" from the official JHipster installation documentation.

If you need more configuration options for running the JHipster command, you can modify:

Those are customized using the Spring Boot application-*.yml files as usual, for example:

        cmd: /usr/local/bin/jhipster
        timeout: 60
    tmp-folder: /tmp

Database configuration

JHipster Online works with a MySQL database, that is configured in the usual application-*.yml Spring Boot configuration files, using the standard spring.datasource keys.


JHipster Online uses JWT to secure the application. For a production application, it is therefore mandatory that:


E-mails are used to validate users' e-mail addresses or to send "forgotten password" e-mails. They are disabled by default, but it might be a good idea to configure them once the application is in production.

To configure e-mail sending, you need to configure the jhipster.mail keys (see JHipster common application properties), and the Spring Boot standard spring.mail keys.

When running the app with the dev profile, make sure to start the development mail server with:

docker-compose -f src/main/docker/mailserver.yml up -d

You can view the mails sent by JHipster with the MailHog UI at http://localhost:8025.

GitHub configuration

GitHub is configured using the application.github keys in the application-*.yml configuration files.

JHipster Online can work on the public GitHub instance on https://github.com as well as any private instance of GitHub Enterprise that is configured inside your company.

JHipster Online has to be configured as an "OAuth App": create a jhipster organization, and go to that organization's "Settings > Developer Settings > OAuth Apps" to create a new "OAuth App" with the required credentials. This will allow JHipster Online to create applications and pull requests on your behalf. JHipster Online uses https://your-jhipster-online-url/api/github/callback as callback endpoint.

JHipster Online also needs to have a specific "JHipster Bot" user configured, like the
https://github.com/jhipster-bot used by the official JHipster Online website. In order for JHipster Online to use that bot, it will need its OAuth token: log in as the "JHipster Bot" user, and go to "Settings > Developer Settings > Personal access tokens" and generate a new token.

Here is the final configuration, that should be set up inside the application-dev.yml file for development, and inside the application-prod.yml file for production.

        host: https://github.com # The GitHub to connect to (by default: the public GitHub instance)
        client-id: XXX # The OAuth Client ID of the application on GitHub
        client-secret: XXX # The OAuth Client secret of the application on GitHub
        jhipster-bot-oauth-token: XXX # The "personal access token" of the JHipster Bot

GitLab configuration

Similarly to GitHub, your GitLab configuration must be placed in your application-*.yml using the application.gitlab keys.

JHipster Online can work on the public GitLab instance on https://gitlab.com as well as any private instance of GitLab that is configured inside your company.

JHipster Online needs to have a specific "JHipster Bot" user configured: create that user (if you have your own private instance, you can call it jhipster-bot, otherwise choose the name you like), and log in using that user.

Once logged in, the required API credentials can be created by going to "Settings > Applications > Add new application". Create a new application:

Save that new application and store safely the Application Id and Secret values, so you can use them to configure the application-*.yml files.

Here is the final configuration, that should be set up inside the application-dev.yml file for development, and inside the application-prod.yml file for production.

        host: https://gitlab.com # The GitLab to connect to. The main public GitLab instance is default here.
        client-id: XXX # Your GitLab application Id
        client-secret: XXX # Your GitLab application secret
        redirect-uri: XXX   # The URI where the user will be redirected after GitLab authentication. This URI
                            # must be registered in you GitLab application callback URLs

Building for production

To generate a production build, like any normal JHipster application, please run:

./mvnw -Pprod clean package

Using Docker

You can also fully dockerize your application and all the services that it depends on. To achieve this, first build a docker image of your app by running:

./mvnw package -Pprod dockerfile:build

Then run:

docker-compose -f src/main/docker/app.yml up -d

Building for GCP environment (include sql proxy)

./mvnw clean package -Pgcp

Help and contribution to the project

Please note that this project is part of the JHipster organization and it follows the rules of the JHipster project.

If you have an issue, a bug or a feature request

Please follow our contribution guide.

If you have a question or need help

You should post it on Stack Overflow using the "jhipster" tag.

Code of conduct

We have the same code of conduct as the main JHipster project: JHipster code of conduct.