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

Getting Started with MongoDB Atlas


We covered an introduction to MongoDB in the first chapter. Recall that MongoDB is a document-oriented database program, also classified as a NoSQL database, and it uses JSON-like documents with schemas. In this book, MongoDB Atlas, which was highlighted briefly in the previous chapter as one of the database-as-a -service offerings by MongoDB for addressing the affordability challenges of small-scale start-ups and independent developers, will be used. First, we will set up an account on MongoDB and then set up MongoDB servers, known as clusters, to connect to applications. Finally, we will employ default (native) database drivers and a third-party driver to have the database connect with to Node application. We will also create database schemas and data models.

If you have an existing MongoDB account, you can use your credentials to log in to the MongoDB Atlas dashboard. If you don't, then you can sign up for free at https://www.MongoDB.com/cloud/atlas....