libribook.com -1
libribook.com -2
List of Figures List of Tables List of Listings Table of Contents Foreword Preface Acknowledgments About this book About the author Lesson 0. Setting up Node.js and the JavaScript engine Lesson 1. Configuring your environmentfree Lesson 2. Running a Node.js application Lesson 3. Creating a Node.js module Lesson 4. Building a simple web server in Node.js Lesson 5. Handling incoming data Lesson 6. Writing better routes and serving external files Lesson 7. Capstone: Creating your first web application Lesson 8. Setting up an app with Express.js Lesson 9. Routing in Express.js Lesson 10. Connecting views with templates Lesson 11. Configurations and error handling Lesson 12. Capstone: Enhancing the Confetti Cuisine site with Express.js Lesson 13. Setting up a MongoDB Database Lesson 14. Building models with Mongoose Lesson 15. Connecting Controllers and Models Lesson 16. Capstone: Saving user subscriptions Lesson 17. Improving Your Data Models Lesson 18. Building the user model Lesson 19. Creating and reading your models Lesson 20. Updating and Deleting your Models Lesson 21. Capstone: Adding CRUD Models to Confetti Cuisine Lesson 22. Adding sessions and flash messages 22.1. Setting up flash message modules 22.2. Adding flash messages to controller actions Lesson 23. Building a user login and hashing passwords 23.1. Implementing the user login form 23.2. Hashing passwords 23.3. Adding validation middleware with express-validator Lesson 24. Adding User Authentication Lesson 25. Capstone: Adding User Authentication to Confetti Cuisine Lesson 26. Adding an API to Your Application Lesson 27. Accessing Your API from Your Application Lesson 28. Adding API Security 28.1. Implementing simple security 28.2. Adding API tokens 28.3. Using JSON web tokens Lesson 29. Capstone: Implementing an API 29.1. Restructuring routes 29.2. Adding the courses partial 29.3. Creating the AJAX function 29.4. Adding an API endpoint 29.5. Creating an action to enroll users Lesson 30. Working with Socket.Io 30.1. Using socket.io 30.2. Creating a chat box 30.3. Connecting the server and client Lesson 31. Saving Chat Messages Lesson 32. Adding a Chat Notification Indicator Lesson 33. Capstone: Adding a Chat Feature to Confetti Cuisinex Lesson 34. Deploying your application Lesson 35. Managing in production Lesson 36. Testing your application Lesson 37. Capstone: Deploying Confetti Cuisine App A. JavaScript syntax introduced in ES6 App B. Logging and using Node.js global objects