A complete guide to build robust and scalable web applications with Spring and Angular
Key Features
- This hands on guide will teach you how to build an end-to-end modern web application using Spring and Angular.
- It is easy to read and will benefit Java developers who have been used to develop the back-end part of web application while front-end (UI) has been left for UI developers.
- Learn the core aspects involved in developing the backend and the UI, right from designing to integrating and deploying.
Book Description
Spring is the most popular application development framework being adopted by millions of developers around the world to create high performing, easily testable, reusable code. Its lightweight nature and extensibility helps you write robust and highly-scalable server-side web applications. Coupled with the power and efficiency of Angular, creating web applications has never been easier.
If you want build end-to-end modern web application using Spring and Angular, then this book is for you.
The book directly heads to show you how to create the backend with Spring, showing you how to configure the Spring MVC and handle Web requests. It will take you through the key aspects such as building REST API endpoints, using Hibernate, working with Junit 5 etc. Once you have secured and tested the backend, we will go ahead and start working on the front end with Angular. You will learn about fundamentals of Angular and Typescript and create an SPA using components, routing etc. Finally, you will see how to integrate both the applications with REST protocol and deploy the application using tools such as Jenkins and Docker.
What you will learn
- Set up development environment for Spring Web App and Angular app.
- Process web request and response and build REST API endpoints.
- Create data access components using Spring Web MVC framework and Hibernate
- Use Junit 5 to test your application
- Learn the fundamental concepts around building Angular
- Configure and use Routes and Components.
- Protect Angular app content from common web vulnerabilities and attacks.
- Integrate Angular apps with Spring Boot Web API endpoints
- Deploy the web application based on CI and CD using Jenkins and Docker containers
Table of Contents
- Introduction to Spring Web Framework
- Preparing the Spring Web Development Environment
- Data Access Layer with Spring and Hibernate
- Testing and Running Spring Web App
- Securing Web App with Spring Security
- Getting Started with Angular
- Creating SPA with Angular and Spring 5
- Unit Testing with Angular Apps
- Securing an Angular App
- Integrating Angular App with Spring Web APIs
- Deploying the Web Application
Ajitesh Shukla is an accomplished software engineer with over 18 years experience in the IT industry, taking up different roles and responsibilities in startups and bigger companies, including Infosys, Computer Associates, WaveCrest, Evoke Technologies, and Raksan Consulting. He has worked on several web and mobile app projects based on technologies such as Java, Spring, Hibernate, AngularJS/Angular, ReactJS, and Ionic framework. Currently, he's interested in building cloud-native apps, cloud platforms, blockchain, and cyber security. Ajitesh is an avid blogger and writes for websites such as DZone and Vitalflux, among many others. His hobbies include playing musical instruments, writing, and attending and organizing meetups. Currently, Ajitesh has been working with a startup, Raksan consulting, as a Technology Evangelist where he is leading their innovation team and carving out newer solutions in the area of cloud platforms such as AWS/Google cloud, cloud-native technologies, data analytics, and blockchain. You can follow Ajitesh on LinkedIn (/ajitesh) and GitHub (/eajitesh). You can also follow Ajitesh on Stack Overflow (/users/554132/ajitesh).