Get Programming with Node.js
eBook - ePub

Get Programming with Node.js

  1. 480 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

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

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • 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.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Get Programming with Node.js by Jonathan Wexler in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in JavaScript. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Foreword
  5. Preface
  6. Acknowledgments
  7. About this book
  8. About the author
  9. Unit 0. Getting set up
  10. Unit 1. Getting started with Node.js
  11. Unit 2. Easier web development with Express.js
  12. Unit 3. Connecting to a database
  13. Unit 4. Building a user model
  14. Unit 5. Authenticating user accounts
  15. Unit 6. Building an API
  16. Unit 7. Adding chat functionality
  17. Unit 8. Deploying and managing code in production
  18. Appendix A. JavaScript syntax introduced in ES6
  19. Appendix B. Logging and using Node.js global objects
  20. Index
  21. List of Figures
  22. List of Tables
  23. List of Listings