Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Server-Side Enterprise Development with Angular
  • Table Of Contents Toc
  • Feedback & Rating feedback
Server-Side Enterprise Development with Angular

Server-Side Enterprise Development with Angular

By : Borggreve
close
close
Server-Side Enterprise Development with Angular

Server-Side Enterprise Development with Angular

By: Borggreve

Overview of this book

With the help of Server-Side Enterprise Development with Angular, equip yourself with the skills required to create modern, progressive web applications that load quickly and efficiently. This fast-paced book is a great way to learn how to build an effective UX by using the new features of Angular 7 beta, without wasting efforts in searching for referrals. To start off, you'll install Angular CLI and set up a working environment, followed by learning to distinguish between the container and presentational components. You'll explore advanced concepts such as making requests to a REST API from an Angular application, creating a web server using Node.js and Express, and adding dynamic metadata. You'll also understand how to implement and configure a service worker using Angular PWA and deploy the server-side rendered app to the cloud. By the end of this book, you'll have developed skills to serve your users views that load instantly, while reaping all the SEO benefits of improved page indexing.
Table of Contents (5 chapters)
close
close

Installing Angular PWA

Angular comes with great support for service workers, and in recent versions, it has become super easy to set up. Whereas previously you had to manually install the dependencies, edit the Angular config, import a module, and configure it, you can now simply use the ng add command that got introduced in Angular CLI v6.

Exercise 46: Adding Angular PWA

In this exercise, we will add Angular PWA to our app. Follow these steps to complete this exercise:

  1. Open the terminal in the project directory.
  2. Install the necessary dependencies using the npm command:
    ng add @angular/pwa --project angular-social
  3. When the installation is successful, we should see the new package added to the dependencies object in our project's package.json file.

Let's move on to the next section, where we will enable the service worker in the application.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Server-Side Enterprise Development with Angular
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon