Video description
"Looking to go full stack? Getting MEAN will take you there."
Matt Merkes, MyNeighbor
Getting MEAN teaches you how to develop web applications using the MEAN stack. First, you'll create the skeleton of a static site in Express and Node, and then push it up to a live web server. Next, add a MongoDB database and build an API before using Angular to handle data manipulation and application logic in the browser. Finally you'll add an authentication system to the application, using the whole stack. When you finish, you'll have all the skills you need to build a dynamic data-driven web application.
Traditional web dev stacks use a different programming language in every layer, resulting in a complex mashup of code and frameworks. Together, the MongoDB database, the Express and AngularJS frameworks, and Node.js constitute the MEAN stack - a powerful platform that uses only one language, top to bottom: JavaScript. Developers and businesses love it because it's scalable and cost-effective. End users love it because the apps created with it are fast and responsive. It's a win-win-win!
Inside:- Full-stack development using JavaScript
- Responsive web techniques
- Everything you need to get started with MEAN
- Best practices for efficiency and reusability
Learners should have some web development experience. This book/course is based on MongoDB 2, Express 4, Angular 1, and Node.js 4.
Simon Holmes has been a full-stack developer since the late 1990s and runs Full Stack Training Ltd.
Fantastic explanations and up-to-date, real-world examples.
Rambabu Posa, LGL Assessment
From novice to experienced developer, all who want to use the MEAN stack will get useful advice here.
Davide Molin, CodingShack.com
A ground-up explanation of MEAN stack layers.
Andrea Tarocchi, Red Hat
NARRATED BY CHRIS DUNN
Table of Contents
PART 1: SETTING THE BASELINE
Chapter 1. Introducing full-stack development
Chapter 1. Introducing Node.js: The web server/platform
Chapter 1. Fast, efficient, and scalable
Chapter 1. Introducing Express: The framework
Chapter 1. Introducing MongoDB: The database
Chapter 1. Introducing AngularJS: The front-end framework
Chapter 1. Supporting cast
Chapter 1. Putting it together with a practical example
Chapter 2. Designing a MEAN stack architecture
Chapter 2. Analytics and browser history
Chapter 2. Designing a flexible MEAN architecture
Chapter 2. Best practice: Build an internal API for a data layer
Chapter 2. Planning a real application
Chapter 2. Breaking the development into stages
Chapter 2. Hardware architecture
PART 2: BUILDING A NODE APPLICATION
Chapter 3. Creating and setting up a MEAN project
Chapter 3. Creating an Express project
Chapter 3. Creating an Express project and trying it out
Chapter 3. Modifying Express for MVC
Chapter 3. Import Bootstrap for quick, responsive layouts
Chapter 3. Make it live on Heroku
Chapter 4. Building a static site with Node and Express
Chapter 4. Building basic controllers
Chapter 4. Creating some views
Chapter 4. Building a template
Chapter 4. Adding the rest of the views
Chapter 4. Take the data out of the views and make them smarter
Chapter 4. Dealing with complex, repeating data
Chapter 4. The finished homepage
Chapter 5. Building a data model with MongoDB and Mongoose
Chapter 5. Adding a Mongoose connection to our application
Chapter 5. Why model the data?
Chapter 5. Defining simple Mongoose schemas
Chapter 5. Creating more complex schemas with subdocuments
Chapter 5. Using the MongoDB shell to create a MongoDB database and add data
Chapter 5. Getting our database live
Chapter 5. Making the application use the right database
Chapter 6. Writing a REST API: Exposing the MongoDB database to the application
Chapter 6. Setting up the API in Express
Chapter 6. Including the model
Chapter 6. GET methods: Reading data from MongoDB
Chapter 6. Finding multiple documents with geospatial queries
Chapter 6. POST methods: Adding data to MongoDB
Chapter 6. PUT methods: Updating data in MongoDB
Chapter 7. Consuming a REST API: Using an API from inside Express
Chapter 7. Using lists of data from an API: The Loc8r homepage
Chapter 7. Catching errors returned by the API
Chapter 7. Getting single documents from an API: The Loc8r Details page
Chapter 7. Debugging and fixing the view errors
Chapter 7. Adding data to the database via the API: Add Loc8r reviews
Chapter 7. Protecting data integrity with data validation
Chapter 7. Validating in the browser with jQuery
PART 3: ADDING A DYNAMIC FRONT END WITH ANGULAR
Chapter 8. Adding Angular components to an Express application
Chapter 8. Setting up for greatness (and JavaScript code)
Chapter 8. Displaying and filtering the homepage list
Chapter 8. Using Angular filters to format data
Chapter 8. Getting data from an API
Chapter 8. Adding HTML geolocation to find places near you
Chapter 8. Ensuring forms work as expected
Chapter 9. Building a single-page application with Angular: Foundations
Chapter 9. Switching from Express routing to Angular routing
Chapter 9. Adding the first views, controllers, and services
Chapter 9. Controller best practice: Using the controllerAs syntax
Chapter 9. Using filters and directives
Chapter 9. Improving browser performance
Chapter 9. Using UglifyJS to minify and concatenate scripts
Chapter 10. Building an SPA with Angular: The next level
Chapter 10. Making reusable page framework directives
Chapter 10. Adding additional pages and dynamically injecting HTML
Chapter 10. More complex views and routing parameters
Chapter 10. Building the Details page view
Chapter 10. Using AngularUI components to create a modal popup
Chapter 10. Using the form to submit a review
PART 4: MANAGING AUTHENTICATION AND USER SESSIONS
Chapter 11. Authenticating users, managing sessions, and securing APIs
Chapter 11. Creating a user schema for MongoDB
Chapter 11. Generating a JSON Web Token
Chapter 11. Creating an authentication API with Passport
Chapter 11. Securing relevant API endpoints
Chapter 11. Creating Angular authentication service
Chapter 11. Creating register and login pages
Chapter 11. Working with authentication in the Angular app
Chapter 11. Adding user data to a review