3 options
Mean cookbook : the meanest set of Mean stack solutions around / Nicholas McClay.
- Format:
- Book
- Author/Creator:
- McClay, Nicholas, author.
- Language:
- English
- Subjects (All):
- MongoDB.
- Express.js (Electronic resource).
- AngularJS (Software framework).
- Node.js.
- JavaScript (Computer program language).
- Web applications.
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- 1st edition
- Other Title:
- MongoDB, Express, AngularJS, and Node.js cookbook
- Place of Publication:
- Birmingham, England ; Mumbai, [India] : Packt, 2017.
- System Details:
- text file
- Biography/History:
- McClay Nicholas: Nicholas McClay is a software developer and designer with over a decade of JavaScript experience in both corporate and startup technology companies. He is an avid Node. js and JavaScript enthusiast and the founder of the greater Pittsburgh regions Node. js and Angular meetups. A self-described user experience developer, he balances using both design and development disciplines to solve problems. He is a graduate of the Art Institute of Pittsburgh, where he acquired a bachelor's of science degree in Game Art and Design, a passion that springboarded him into a career of interactive experience design. His previous work experience includes Autodesk, where he worked on next-generation integrated cloud services. His current role is as the UX Lead of Wombat Security Technologies, where he helps bridge the gap between the customers' user experience and the underlying technology and product decisions that deliver it. He enjoys video games, tinkering and creating things, and lives with his loving wife, son, and daughter in Pittsburgh, Pennsylvania.
- Summary:
- Over 50 recipes to create full-stack high-performance web applications using pure JavaScript and the MEAN stack. About This Book Architect a fully functional stand-alone web application, including the web server, database, and front-end web application Improve the performance and maintainability of your MEAN stack application with tips for configuration and optimization Highlights MEAN Stack best practices when working with your application Who This Book Is For If you are a JavaScript developer who wants to create high-performing, modern web applications with the MEAN stack, this is the book for you. Web developers familiar with some parts of the MEAN stack will find this a comprehensive guide to fleshing out the other technologies and skills they need to build all JavaScript web applications. Developers interested in transitioning from other web application stacks to an all-JavaScript environment will find a wealth of information about how to work in a MEAN stack environment. To get the most from this book, you should have a general understanding of web servers and web applications. You are expected to have a basic understanding of running JavaScript, both in a web browser and outside it, using Node.js and the NPM package manager. What You Will Learn Bootstrap a new MEAN stack web application using Node.js and Express Build a single-page application (SPA) with Angular and Angular-CLI Improve browser performance by optimizing your web application resources using Webpack Model complex JSON object relationships in MongoDB using Mongoose Debug all the layers of a MEAN stack application, including working with source maps Build Restful APIs using Express.js and JSON Web Token (JWT) for user authentication Use automated testing to improve the reliability and quality of your MEAN stack application In Detail The MEAN Stack is a framework for web application development using JavaScript-based technologies; MongoDB, Express, Angular, and Node.js. If you want to expand your understanding of using JavaScript to produce a fully functional standalone web application, including the web server, user interface, and database, then this book can help guide you through that transition. This book begins by configuring the frontend of the MEAN stack web application using the Angular JavaScript framework. We then implement common user interface enhancements before moving on to configuring the server layer of our MEAN stack web application using Express for our back...
- Contents:
- Cover
- Title Page
- Copyright
- Credits
- About the Author
- Acknowledgement
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- chapter 1: Working with Angular 4
- Introduction
- Upgrading to Angular 4 using NPM
- Getting ready
- How to do it...
- How it works...
- There's more…
- Taking advantage of optional dependencies
- Peer dependency warnings after upgrade
- Generating a new Angular project using Angular-CLI
- There's more...
- Tips for resolving port collision
- Configuring Angular-CLI project settings
- Working with generators in Angular-CLI
- Ejecting Angular-CLI from your project
- Generating new routes in Angular-CLI
- How its works...
- Defining a home page in your Angular routes
- Handling 404 errors in an Angular project
- Creating nesting routes in Angular
- Creating sibling routes in Angular
- Programmatic page redirection in Angular
- Route preloading with Angular modules
- Running tests in Angular-CLI
- Chapter 2: Enhancing Your User Interface
- Configuring Sass in Angular
- Working with Angular component styles
- Using Sass variables for style reusability
- How to do it.
- How it works...
- Using Sass nesting for better style specificity
- Using Sass partials for style organization
- Working with Bootstrap in Sass
- Customizing Bootstrap for Angular
- Using Bootstrap Responsive layouts
- Working with Bootstrap components in Angular
- Working with Font-Awesome icons in Angular
- Internationalization with Angular i18n
- Setting your language with Angular i18n
- How to Localize dates in Angular
- Chapter 3: Working with Data
- Working with actions and events in Angular
- Working with form input and models in Angular
- Getting Ready
- Validating data with Angular form properties
- Creating services for data in Angular
- Using promises to create asynchronous services in Angular
- Retrieving API data using HTTP services in Angular.
- Getting ready
- Querying API sources using HTTP services in Angular
- Creating Concurrent API requests in Angular
- Handling API errors and invalid responses in Angular
- HTTP service optimization through client-side caching
- Chapter 4: Using Express Web Server
- Creating a new Express project with express-generator
- Working with routes in Express
- Serving an Angular web application with Express
- Working with headers in Express
- Working with cookies in Express
- Creating Express middleware for routes
- Logging traffic and activity with Morgan
- Running your Express web server with Forever
- Securing your Express web server
- Chapter 5: REST APIs and Authentication
- Building REST APIs with Express
- Configuring JSON API in Express
- There's more.
- Creating a user authentication API in Express
- Building a login page with Angular
- Using JWT authentication with Express and Angular
- Chapter 6: Cloud Service Integrations
- Uploading large multi-part files with Express
- Uploading images to Cloudinary from Express
- Securing image downloads from Cloudinary
- Resizing images and transformations with Cloudinary
- Working with Stripe payment processor in Express
- Accepting credit card payments in Angular with Stripe
- Chapter 7: MongoDB and Mongoose
- How to set up and create a MongoDB database
- Mongo shell commands
- Connecting to MongoDB through Mongoose
- Working with data model in MongoDB and Mongoose
- Mongoose Model API
- Mongoose Document API
- Querying for data using Mongoose query selectors
- Mongoose Query API
- Chapter 8: Relationships
- Working with data validations and virtuals in Mongoose
- SchemaTypes API.
- There's more...
- Creating sub-documents in Mongoose models
- Using pre-save hooks and custom methods in Mongoose Models
- Creating embedded documents in MongoDB with objectId
- Creating relational documents in MongoDB with population
- Document API
- Chapter 9: Build Systems and Optimizations
- Using ES6 and Typescript with Express.js and Node.js
- Configuring WebPack for use in Node.js applications
- Optimizing asset delivery with gzip compression in Express
- Optimizing images for delivery with WebPack
- Optimizing Font-Awesome with custom font generation
- Chapter 10: Debugging
- Debugging Node.js using the debug module
- Debugging Node.js using node-inspector in Google Chrome
- Debugging Node.js using JetBrain's WebStorm IDE
- Production error tracking and debugging with Sentry.io
- Chapter 11: Automated Testing
- Creating unit tests for Node.js using the Mocha testing library
- How it works.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed October 25, 2017).
- OCLC:
- 1008968667
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.