Beginning Node.js is your step-by-step guide to learning all the aspects of creating maintainable Node.js applications. You will see how Node.js is focused on creating high-performing, highly-scalable websites, and how easy it is to get started. Many front-end devs regularly work with HTML, CSS, PHP, even WordPress, but haven't yet got started with Node.js. This book explains everything for you from a beginner level, enabling you to start using Node.js in your projects right away.
Using this book you will learn important Node.js concepts for server-side programming. You will begin with an easy-to-follow pure JavaScript primer, which you can skip if you're confident of your JS skills. You'll then delve into Node.js concepts such as streams and events, and the technology involved in building full-stack Node.js applications. You'll also learn how to test your Node.js code, and deploy your Node.js applications on the internet.
Node.js is a great and simple platform to work with. It is lightweight, easy to deploy and manage. You will see how using Node.js can be a fun and rewarding experience - start today with Beginning Node.js.
What youll learn
• Learn how JavaScript can help you be highly productive as a full-stack developer• How to set up an end to end Node.js development environment
• Learn how to create reusable and maintainable Node.js modules
• Patterns for sharing code between the server and the client
• Create Node.js restful web services and websites
• Store and retrieve your data using Document Databases
• How to test your Node.js applications
• How to deploy your applications on the internet
Who this book is for
Beginning Node.js is great for front-end developers looking to use Node.js in their websites. If you understand the basics of programming this book will teach you how you can leverage JavaScript to create full stack web-apps using Node.js. Node.js allows you to write code that runs both on the client and server. This allows you to reuse more code and deliver applications faster. From this book you will learn how to write maintainable server-side JavaScript using Node.js, how to test your code and deploy it on the internet.
Table of Contents
Chapter 1: Setting up for Node.js Development
Chapter 2: Understanding Node.js
Chapter 3: Core Node.js
Chapter 4: Node.js Packages
Chapter 5: Events and Streams
Chapter 6: Getting Started with HTTP
Chapter 7: Introducing Express
Chapter 8: Persisting Data
Chapter 9: Front-End Basics
Chapter 10: Simplifying Callbacks
Chapter 11: Debugging
Chapter 12: Testing
Chapter 13: Deployment and Scalability