Victor Hugo Garcia
Getting Started with Angular
Create and Deploy Angular Applications
The Apress logo.
Victor Hugo Garcia
Santiago Del Estero, Santiago del Estero, Argentina
ISBN 978-1-4842-9208-2 e-ISBN 978-1-4842-9206-8
https://doi.org/10.1007/978-1-4842-9206-8
Victor Hugo Garcia 2023
This work is subject to copyright. All rights are solely and exclusively licensed by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors, and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This Apress imprint is published by the registered company APress Media, LLC, part of Springer Nature.
The registered company address is: 1 New York Plaza, New York, NY 10004, U.S.A.
To my wife, my parents, and to all those who have taught me something, by example or word.
Introduction
Web developers are in an all-time demand. Frontend developers, those in charge of building the parts of the applications that interact directly with the end user, are a crucial part of software companies, providing a navigation experience that is in no short measure responsible for the success of a project.
Frontend developers use different programming languages, such as JavaScript, HTML, and CSS. However, in the current state of affairs, they also need to get a firm grasp of libraries and frameworks.
Angular is a very powerful, enterprise-grade framework that lets you build apps of any size that are scalable and maintainable. It has a vibrant community and is continually updated with new features to improve productivity.
This book aims to form you as a competent Angular developer who can easily work in a company or as a freelancer, making the process enjoyable.
Who Should Read This Book
This book is intended for those with a basic knowledge of JavaScript, HTML, and CSS who want to become frontend developers or incorporate a new set of skills. You will learn the fundamentals of TypeScript, the superset of JavaScript used to define the classes of our applications, and then start learning about Angular by practice. By the end of the book, you will have completed a series of projects including
An app that performs CRUD operations against an API
An app that performs authentication and authorization using a service provider
A blog that communicates with a Node server and consumes data from a MongoDB database
All this should give you a very firm start in your career.
How to Read This Book
Chapter introduces TypeScript. The following chapters develop the applications. I recommend you to read all the chapters in order.
Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at https://github.com/Apress/The-Beginning-Angular-by-Victor-Hugo-Garcia. For more detailed information, please visit http://www.apress.com/source-code.
Table of Contents
About the Author
Victor Hugo Garcia
A photo of Victor Hugo Garcia.
has a Masters degree in Computer Science, and more than 12 years of experience as a full-stack developer, using different frameworks such as Angular, Laravel, Yii, Zend, Cake, and Vue. He has developed multiple web and mobile applications for various organizations. He has also developed various courses on web development for Udemy. He loves teaching, reading, and writing technical and fantasy books.
About the Technical Reviewer
Sourabh Mishra
A photo of Sourabh Mishra.
is an entrepreneur, developer, speaker, author, corporate trainer, and animator. He is a Microsoft guy; he is very passionate about Microsoft technologies and a true .NET warrior. Sourabh started his career when he was just 15 years old. Hes loved computers from childhood. His programming experience includes C/C++, ASP.NET, C#, VB.NET, WCF, SQL Server, Entity Framework, MVC, Web API, Azure, jQuery, Highcharts, and Angular. Sourabh has been awarded a Most Valuable Professional (MVP) status. He has the zeal to learn new technologies and shares his knowledge on several online community forums.
He is the author of Practical Highcharts with Angular by Apress, which talks about how you can develop stunning and interactive dashboards using Highcharts with Angular. He is the founder of IECE Digital and Sourabh Mishra Notes, an online knowledge-sharing platform where one can learn new technologies very easily and comfortably.
He can be reached via the following:
YouTube: sourabhmishranotes
Twitter: sourabh_mishra1
Facebook: facebook.com/sourabhmishranotes
Instagram: sourabhmishranotes
Email: sourabh_mishra1@hotmail.com
You can read his books on www.amazon.com/stores/author/B084DMG1WG .
The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
V. H. Garcia Getting Started with Angular https://doi.org/10.1007/978-1-4842-9206-8_1
1. Introduction to Angular Framework
Victor Hugo Garcia
(1)
Santiago Del Estero, Santiago del Estero, Argentina
The purpose of this chapter is to give a brief introduction of Angular and then proceed with the setup of our development environment. There are a few mandatory installations; the rest, although not required, are convenient. A good IDE is a tremendous help, and having the right packages can significantly boost our productivity.
If you are reading this book, you have probably already heard about Angular. It is even likely that you have followed some tutorials and even developed applications. However, my goal is to start without making assumptions about the level from which you start.