ENGLISH

Full stack development with JHipster : build full stack applications and microservices with Spring Boot and modern JavaScript frameworks

Book information

Year
2020
ISBN
9781838820244, 1838820248
Language
english
Format
PDF
Filesize
15 MB (15392977 bytes)
Edition
Second
Pages
\412
Time added
2020-08-28 07:10:14

Description

Cover Title Page Copyright and Credits Dedication About Packt Foreword Contributors Table of Contents Preface Section 1: Getting Started with the JHipster Platform Chapter 1: Introduction to Modern Web Application Development Modern full stack web development Web architecture patterns Monolithic web architecture Microservice architecture Choosing the right pattern When to choose a monolithic architecture When to choose a microservice architecture Summary Chapter 2: Getting Started with JHipster Why JHipster? Goal and adoption of JHipster Introduction to available technologies  Client-side technologies HTML5 and CSS3 SASS Bootstrap MVVM framework Angular React Vue.js Build tools – webpack and BrowserSync Testing tools – Jest and Protractor Internationalization Server-side technologies Spring Framework Spring Boot Spring Security Spring MVC Spring Data Security JWT Session OAuth2/OIDC Build tools – Maven and Gradle Hibernate Liquibase Caching Ehcache Hazelcast Infinispan Memcached Redis Swagger Thymeleaf Micrometer WebSocket Kafka Testing frameworks – JUnit, Gatling, and Cucumber Introduction to database options SQL databases H2 MySQL MariaDB PostgreSQL MS SQL Oracle NoSQL databases MongoDB Cassandra Couchbase Elasticsearch Installing and setting up JHipster Prerequisites Tools required Java Git Node.js Docker IDE configuration System setup Installation of JHipster Summary Section 2: Building and Customizing Web Applications with JHipster Chapter 3: Building Monolithic Web Applications with JHipster Application generation Step 1 – preparing the workspace Step 2 – generating code using JHipster Server-side options Client-side options Internationalization options Testing Modules Code walkthrough File structure Server-side source code Java source Resources Client-side source code Starting the application Application modules Home and login modules Account modules Settings Password Registration Admin module User management Metrics Health Configuration Audits Logs API Running generated tests Server-side tests Client-side tests Summary Chapter 4: Entity Modeling with JHipster Domain Language Introduction to JDL DSL grammar for JDL Entity modeling with JDL Relationship management DTO, service, and pagination options JDL-Studio Use case entity model Entities Relationships Options for entities Entity generation with JHipster Generated code walkthrough Server-side source code Domain class for the entity Repository interface for the entity Service class for the entity Resource class for the entity Client-side TypeScript model class for the entity Angular services for the entity Angular components of the entity Angular route for the entity Angular module for the entity Generated pages Running the generated tests Summary Chapter 5: Customization and Further Development Live reload for development Spring Boot DevTools Webpack dev server and BrowserSync Setting up live reloads for an application Customizing the Angular frontend for an entity Bringing back the sorting functionality Adding a filtering functionality Editing an entity using the JHipster entity sub-generator Changing the look and feel of the application Adding a new i18n language Authorization with Spring Security Limiting access to entities Limiting access to create/edit/delete entities Limiting access to the data of other users Summary Section 3: Continuous Integration and Testing Chapter 6: Testing and Continuous Integration Fixing and running tests Briefing on CI CI/CD tools Jenkins Azure Pipelines Travis CI GitLab CI GitHub Actions Setting up Jenkins Creating a Jenkins pipeline using JHipster The Jenkinsfile and its stages Setting up the Jenkinsfile in a Jenkins server Summary Chapter 7: Going into Production Introduction to Docker Docker containers Dockerfiles Docker Hub Docker Compose Starting the production database with Docker Introducing Spring profiles Packaging the application for local deployment Building and deploying using Docker Building and deploying an executable archive Upgrading to the newest version of JHipster Deployment options supported by JHipster Heroku Cloud Foundry Amazon Web Services Google App Engine Azure Spring Cloud Azure App Service Production deployment to the Heroku Cloud Summary Section 4: Converting Monoliths to Microservice Architecture Chapter 8: Microservice Server-Side Technologies Microservice applications versus monoliths Scalability Efficiency Time constraint  Building blocks of a microservices architecture Service registry Service discovery Client-side discovery pattern Server-side discovery pattern Health check Dynamic routing and resiliency Security Fault tolerance and failover Options supported by JHipster JHipster Registry Netflix Eureka Spring Cloud Config Server HashiCorp Consul Service discovery Health discovery Key/Value store Multiple data centers JHipster gateway Netflix Zuul Hystrix JHipster Console Elasticsearch Logstash Kibana Zipkin Prometheus JWT authentication How JWT works JHipster UAA server Summary Chapter 9: Building Microservices with JHipster Application architecture Generating a microservice stack using JDL Application modeling using JDL Gateway application JDL specification for the gateway application Microservice invoice application JDL specification for the invoice application Microservice notification application JDL specification for the notification application Modeling microservice entities in JDL  Application generation with import-jdl Gateway application Gateway application entities Invoice microservice configuration Notification microservice configuration Summary Chapter 10: Working with Microservices Setting up JHipster Registry locally Using a pre-packaged JAR file Docker mode Running a generated application locally Gateway application pages JHipster Registry pages Dashboard System status Instances registered General info and health Application listing page Metrics page Health page Configuration page Logs page Loggers Swagger API endpoints Running invoice and notification applications locally Explaining the generated entity pages Summary Section 5: Deployment of Microservices Chapter 11: Deploying with Docker Compose Introducing microservice deployment options A short introduction to Docker Compose Introduction to Kubernetes Introduction to OpenShift Generated Docker Compose files Walking through the generated files Building and deploying everything to Docker locally Generating Docker Compose files for microservices Features of the deployed application JHipster Console demo Scaling up with Docker Summary Chapter 12: Deploying to the Cloud with Kubernetes Generating Kubernetes configuration files with JHipster Generating the Kubernetes manifests Walking through the generated files Deploying the application to Google Cloud with Kubernetes Using Istio service mesh What is Istio? Microservice with Istio service mesh Deploying Istio to a Kubernetes cluster Generating the application Deploying to Google Cloud Summary Section 6: React and Vue.js for the Client Side Chapter 13: Using React for the Client-Side Generating an application with React client-side Technical stack and source code Technical stacks Using TypeScript State management with Redux and friends Routing with React Router HTTP requests using Axios Bootstrap components using reactstrap Unit testing setup Generated source code Generating an entity with React client-side Summary Chapter 14: Using Vue.js for the Client-Side Generating an application with Vue.js client-side Technical stack and source code Technical stack Using TypeScript State management with Vuex Routing with Vue Router HTTP requests using Axios Bootstrap components using BootstrapVue Unit testing setup Generated source code Generating an entity with VueJS client-side Summary Chapter 15: Best Practices with JHipster The next steps to take Adding a shopping cart for the application Improving end-to-end tests Improving the CI/CD pipeline Create an e-commerce application with React or Vue.js Building a JHipster module The best practices to keep in mind Choosing a client-side framework Choosing a database option Architecture considerations Security considerations Deployment and maintenance General best practices Using JHipster modules Contributing to JHipster Summary Other Books You May Enjoy Index

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

1809 · PDF

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

2008 · PDF