Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PierreBesson/482ac47e9c6d5a7e449d94ff1a28f54c to your computer and use it in GitHub Desktop.
Save PierreBesson/482ac47e9c6d5a7e449d94ff1a28f54c to your computer and use it in GitHub Desktop.
Kickstart JHipster Microservice Development

Start a JHipster registry with docker :

docker run -d \
  -p 8761:8761 \
  -v "$(pwd)"/central-config:/central-config/ \
  -e SPRING_PROFILES_ACTIVE=dev,native,swagger \
  -e SECURITY_USER_PASSWORD=admin \
  -e JHIPSTER_SECURITY_AUTHENTICATION_JWT_SECRET=secret-key \
  -e ENCRYPT_KEY=secret-encryption-key \
  jhipster/jhipster-registry

Access it at http://localhost:8761 with credentials: admin/admin

What can you do ?

  1. Generate a simple JHipster microservice and start it, It will automatically register itself.
  2. Generate a JHipster gateway, it will automatically expose and proxy request to all your registered microservices
  3. Manage your Spring Cloud Configuration server by adding yaml files to the central-config that was created by docker and see them automatically show up in the Cloud Config screen
  4. Try out the Encryption screen to encrypt your secrets
  5. Have a look at the Administration screens : metrics/health/config/logs/loggers
  6. Access all your services API documentation with the API screen and try out your REST endpoints.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment