Book Image

MongoDB, Express, Angular, and Node.js Fundamentals

By : Paul Oluyege
Book Image

MongoDB, Express, Angular, and Node.js Fundamentals

By: Paul Oluyege

Overview of this book

MongoDB, Express, Angular and Node.js Fundamentals is a practical guide to the tried-and-true production-ready MEAN stack, with tips and best practices. The book begins by demystifying the MEAN architecture. You’ll take a look at the features of the JavaScript libraries, technologies, and frameworks that make up a MEAN stack. With this book, you'll not only learn how to develop highly scalable, asynchronous, and event-driven APIs quickly with Express and Node.js, but you'll also be able put your full-stack skills to use by building two full-fledged MEAN applications from scratch. You’ll understand how to build a blogging application using the MEAN stack and get to grips with user authentication using MEAN. As you progress through the chapters, you’ll explore some old and new features of Angular, such as pipes, reactive forms, modules and optimizing apps, animations and unit testing, and much more. By the end of the book, you’ll get ready to take control of the MEAN stack and transform into a full-stack JavaScript developer, developing efficient web applications using Javascript technologies.
Table of Contents (9 chapters)
MongoDB, Express, Angular, and Node.js Fundamentals
Preface

Introduction


We began this book by describing the MEAN (MongoDB, Express, Angular, and Node) architecture. Specifically, we described its technology components in terms of their features/advantages, limitations, and scenarios in which they are best used. We ran a Node server and implemented various Node features, such as callbacks, event loops, event emitters, streams, buffers, and the filesystem.

This chapter will revolve around RESTful APIs, which are a major application of Node that leverage HTTP request types to indicate a desired action. We will also introduce you to the RESTful API and its designs concepts. Later in this chapter, we will talk about some operations of MongoDB Atlas, such as creating clusters, schemas, and connecting the database to applications. This chapter will present the Express framework and its feature implementation on Node and MongoDB Atlas.

Finally, you'll implement Node, MongoDB Atlas, and Express together, with the goal of developing a RESTful API to perform...