Leanpub Header

Skip to main content

The Angular Tutorial

Learn Front-End Development and Automated Testing with Angular

The Angular Tutorial teaches you how to develop, test, and deploy a modern front-end web application using the Angular framework.

Minimum price

$59.99

$59.99

You pay

$59.99

Author earns

$47.99
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
539
Pages
About

About

About the Book

Learning a front-end framework is hard. "Getting started" tutorials cover the basics but you leave thinking, "Okay, now how do I build something with this?" The truth is, getting started tutorials aren't all that great for beginners. They're demos to highlight as many features as quickly as possible. They're great for showing off what a framework can do. They aren't so great for teaching you how to build web apps. The end result is a basic application that doesn't mimic what it's like building real applications as a front-end developer.

You'll work with a mocked API and database. Application architecture isn't covered. Automated testing is skipped altogether.Trust me, I've been there. But those days are over.

With The Angular Tutorial, you'll learn how to build applications using a real API and database. You'll leverage 3rd party APIs like Zomato, Google Places, and open-source libraries just as you would in a real job.The Angular Tutorial assumes you have no previous knowledge of the Angular framework. It starts at the very beginning.Every piece of code is explained and tested to make you interview ready.

You'll begin with an introduction to how web applications work followed by an introduction to Angular to give you a good grasp on the basics.

Then you'll learn how to setup a real database and API just as I've done at numerous companies ranging from venture capital, startups, Fortune 500 companies, and digital agencies working with companies like CNN, Turner Broadcasting System, NBC, Mazda, AutoTrader and The Home Depot.

After that is a deeper dive into Angular where you'll build a real application with features like a signup page, a login page, a dashboard for authenticated users, and a calendar displaying lunch dates which you can show off on your resume or to your friends.

You'll deploy this application to the web using Heroku so the proof of your work will be accessible to anyone.

✅ Forms - Template-driven forms or reactive forms? Don't worry, both are covered.

✅ E2E Testing - Fast and easy end-to-end testing of your application with Cypress.

✅ Unit Testing - Unit test your code with Karma and Jasmine.

✅ Services - Communicate with a backend using Angular's HttpClient and write your own interceptors.

✅ Authentication - Secure your application with JSON Web Tokens (JWT).

✅ Authorization - Learn to restrict sections of your application to authorized users.

✅ Module Architecture - Create dumb components, feature modules, and learn to break down an application into smaller parts.

✅ OSS Integration - Why re-invent the wheel? Learn to use open-source libraries to your advantage just as you would on the job.

✅ API Documentation - Learn how to read API documentation so you have the confidence going forward to work with any API.

✅ Deployment - Get your application onto the web. Learn how to build and deploy your Angular application to Heroku.

Share this book

Categories

Author

About the Author

Adam Morgan

Adam Morgan is the creator of The Angular Tutorial. His prior experience includes web development at a variety of companies ranging from Fortune 500 companies to startups and digital agencies. Across these companies he’s filled various roles ranging from full-stack development to UI design and UX research. Adam has also written tutorials for Scotch.io covering automated testing with the AngularJS framework.

Contents

Table of Contents

  • Book Methodology
  • How Web Applications Work
  • Getting Started and Installation
  • API Setup and Installation
  • Introduction to Angular
  • How Angular Works
  • Home Page and an Introduction to Routing
  • Introduction to Testing
  • User Signup
  • User Dashboard
  • Route Guard (AuthGuard)
  • Navbar
  • User Login
  • Event Create and HTTP Interceptor
  • Dashboard Calendar
  • Event View
  • Event Comments
  • Events List
  • Event Subscribe/Unsubscribe
  • Event Recommendations
  • Event Update
  • Route Guard (EventGuard)
  • Deploy to Heroku
  • Appendix: Going Forward
  • Appendix: Practice

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub