Full Stack Development with JHipster
Deepu K Sasidharan, Sendil Kumar N
- 380 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Full Stack Development with JHipster
Deepu K Sasidharan, Sendil Kumar N
About This Book
Discover the world of Full Stack Development with real-world examples.
Key Features
- Leverage the full power of the JHipster platform to build complex web applications
- Create microservices from scratch and convert JHipster monolith apps into microservices
- Build and deploy applications locally, in Docker and on various cloud platforms.
Book Description
JHipster is a development platform to generate, develop, and deploy Spring Boot and Angular/React applications and Spring microservices. It provides you with a variety of tools that will help you quickly build modern web applications. This book will be your guide to building full stack applications with Spring and Angular using the JHipster tool set.
You will begin by understanding what JHipster is and the various tools and technologies associated with it. You will learn the essentials of a full stack developer before getting hands-on and building a monolithic web application with JHipster. From here you will learn the JHipster Domain Language with entity modeling and entity creation using JDL and JDL studio. Moving on, you will be introduced to client side technologies such as Angular and Bootstrap and will delve into technologies such as Spring Security, Spring MVC, and Spring Data. You will learn to build and package apps for production with various deployment options such as Heroku and more. During the course of the book, you will be introduced to microservice server-side technologies and how to break your monolithic application with a database of your choice. Next, the book takes you through cloud deployment with microservices on Docker and Kubernetes. Going forward, you will learn to build your client side with React and master JHipster best practices.
By the end of the book, you will be able to leverage the power of the best tools available to build modern web applications.
What you will learn
- Build business logic by creating and developing entity models us the JHipster Domain Language
- Customize web applications with Angular, Bootstrap and Spring
- Tests and Continuous Integration with Jenkins
- Utilize the JHipster microservice stack, which includes Netflix Eureka, Spring Cloud config, HashiCorp Consul, and so on.
- Understand advanced microservice concepts such as API rout, load balancing, rate limit, circuit break, centralized configuration server, JWT authentication, and more
- Run microservices locally using Docker and Kubernetes (in production)
Who this book is for
This book will appeal to developers who would like to build modern web applications quickly. A basic knowledge of the Spring ecosystem would be an added advantage.
Frequently asked questions
Information
Building Monolithic Web Applications with JHipster
- See how to create a monolithic web application using JHipster
- Walk through important aspects of the generated code
- See the security aspects of the generated application
- See how to run the application and tests
- See the generated frontend screens
- See the tools included that will ease further development
Application generation
Step 1 â preparing the workspace
> mkdir e-commerce-app
> cd e-commerce-app
> mkdir online-store
> cd online-store
Step 2 â generating code using JHipster
- Monolithic application: As the name suggests, it creates a monolithic web application with a Spring Boot-based backend and an SPA frontend.
- Microservice application: This creates a Spring Boot microservice without any frontend, and is designed to work with a JHipster microservice architecture.
- Microservice gateway: This creates a Spring Boot application very similar to the monolithic application but geared towards a microservice architecture with additional configurations. It features an SPA frontend.
- JHipster UAA server: This creates an OAuth2 User authentication and Authorization service. This will not feature any frontend code and is designed to be used in a JHipster microservice architecture.