
- 480 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Get Programming with Node.js
About this book
Summary
Get Programming with Node.js teaches you to build web servers using JavaScript and Node. In this engaging tutorial, you'll work through eight complete projects, from writing the code for your first web server to adding live chat to a web app. Your hands will stay on the keyboard as you explore the most important aspects of the Node development process, including security, database management, authenticating user accounts, and deploying to production. You'll especially appreciate the easy-to-follow discussions, illuminating diagrams, and carefully explained code!Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology
Node.js delivers the speed and reliability you need for ecommerce, social media, and gaming applications. It comes with thousands of prebuilt packages to help you get started immediately. If you want to use JavaScript on the server, Node.js is your choice. What's inside
- New features from ES2015 and later
- Writing asynchronous code
- Creating data models
- Debugging JavaScript modules
About the Reader
Written for front-end web developers with intermediate JavaScript skills. Table of Contents
GETTING SET UP
Lesson 0 - Setting up Node.js and the JavaScript engine
Lesson 1 - Configuring your environment
Lesson 2 - Running a Node.js application
UNIT 1 - GETTING STARTED WITH NODE.JS
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
UNIT 2 - EASIER WEB DEVELOPMENT WITH EXPRESS.JS
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
UNIT 3 - CONNECTING TO A DATABASE
Lesson 13 - Setting up a MongoDB database
Lssson 14 - Building models with Mongoose
Lesson 15 - Connecting controllers and models Using promises with Mongoose
Lesson 16 - Capstone: Saving user subscriptions
UNIT 4 - BUILDING A USER MODEL
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 Creating controllers
UNIT 5 - AUTHENTICATING USER ACCOUNTS
Lesson 22 - Adding sessions and flash messages
Lesson 23 - Building a user login and hashing passwords
Lesson 24 - Adding user authentication
Lesson 25 - Capstone: Adding user authentication to Confetti Cuisine
UNIT 6 - BUILDING AN API
Lesson 26 - Adding an API to your application
Lesson 27 - Accessing your API from your application
Lesson 28 - Adding API security
Lesson 29 - Capstone: Implementing an API
UNIT 7 - ADDING CHAT FUNCTIONALITY
Lesson 30 - Working with Socket.io
Lesson 31 - Saving chat messages
Lesson 32 - Adding a chat notification indicator
UNIT 8 - DEPLOYING AND MANAGING CODE IN PRODUCTION
Lesson 33 - Capstone: Adding a chat feature to Confetti Cuisine
Lesson 34 - Deploying your application
Lesson 35 - Managing in production
Lesson 36 - Testing your application
Lesson 37 - Capstone: Deploying Confetti Cuisine
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this book
- About the author
- Unit 0. Getting set up
- Unit 1. Getting started with Node.js
- Unit 2. Easier web development with Express.js
- Unit 3. Connecting to a database
- Unit 4. Building a user model
- Unit 5. Authenticating user accounts
- Unit 6. Building an API
- Unit 7. Adding chat functionality
- Unit 8. Deploying and managing code in production
- Appendix A. JavaScript syntax introduced in ES6
- Appendix B. Logging and using Node.js global objects
- Index
- List of Figures
- List of Tables
- List of Listings