Buy new:
-45% $30.99
FREE delivery Sunday, May 19 on orders shipped by Amazon over $35
Ships from: Amazon.com
Sold by: Amazon.com
$30.99 with 45 percent savings
List Price: $55.99

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Sunday, May 19 on orders shipped by Amazon over $35
Or fastest delivery Saturday, May 18. Order within 11 hrs 28 mins
Only 3 left in stock (more on the way).
$$30.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$30.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
30-day easy returns
30-day easy returns
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day easy returns
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$23.24
Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! See less
$3.99 delivery May 21 - 22. Details
Only 1 left in stock - order soon.
$$30.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$30.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by Half Price Books Inc.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Something went wrong. Please try your request again later.

Web Development with Node and Express: Leveraging the JavaScript Stack 2nd Edition

4.2 4.2 out of 5 stars 82 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$30.99","priceAmount":30.99,"currencySymbol":"$","integerValue":"30","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"a86Q4M%2F%2BmFN6RK7l0ubemaOUwf2G5mVh7KbHq4KwNz2iwf11n3NNWVL6tFCRT6ev9c6btiTlwcm%2FNI1M8oEQ0%2Bl58myYSgf%2Fz0z1FAUetVfW0fFgRYg3YH1eXf1ZInLM%2FgR87ITdmALvTY%2BF2toPWQ%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$23.24","priceAmount":23.24,"currencySymbol":"$","integerValue":"23","decimalSeparator":".","fractionalValue":"24","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"a86Q4M%2F%2BmFN6RK7l0ubemaOUwf2G5mVhYC%2BxcSTCR85lCoEoA%2B7UtwBJ4G4vdaZiuR1%2Byum8F6qhiF6VIaRG5lBK3zawrVL%2BY3%2FQnueJtksyBv6ImjwB%2BDpqjmltn3yCFSfggeQbeojItwcMMWUN8cW7zUytU4GibGcaDe%2BKAaezAWsfegOtugwCmp9ulIEl","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Build dynamic web applications with Express, a key component of the Node/JavaScript development stack. In this updated edition, author Ethan Brown teaches you Express fundamentals by walking you through the development of an example application. This hands-on guide covers everything from server-side rendering to API development suitable for use in single-page apps (SPAs).

Express strikes a balance between a robust framework and no framework at all, allowing you a free hand in your architecture choices. Frontend and backend engineers familiar with JavaScript will also learn best practices for building multipage and hybrid web apps with Express. Pick up this book and discover new ways to look at web development.

  • Create a templating system for rendering dynamic data
  • Dive into request and response objects, middleware, and URL routing
  • Simulate a production environment for testing
  • Persist data in document databases with MongoDB and relational databases with PostgreSQL
  • Make your resources available to other programs with APIs
  • Build secure apps with authentication, authorization, and HTTPS
  • Integrate with social media, geolocation, and more
  • Implement a plan for launching and maintaining your app
  • Learn critical debugging skills

Read more Read less

Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

$30.99
Get it as soon as Sunday, May 19
Only 3 left in stock (more on the way).
Ships from and sold by Amazon.com.
+
$45.23
Get it as soon as Sunday, May 19
Only 10 left in stock (more on the way).
Ships from and sold by Amazon.com.
+
$32.99
Get it as soon as Sunday, May 19
In Stock
Ships from and sold by Amazon.com.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

From the brand


From the Publisher

web development, node, express, javascript

From the Preface

Who This Book Is For

This book is for programmers who want to create web applications (traditional websites; single-page applications with React, Angular, or Vue; REST APIs; or anything in between) using JavaScript, Node, and Express. One of the exciting aspects of Node development is that it has attracted a whole new audience of programmers. The accessibility and flexibility of JavaScript have attracted self-taught programmers from all over the world. At no time in the history of computer science has programming been so accessible. The number and quality of online resources for learning to program (and getting help when you get stuck) is truly astonishing and inspiring. So to those new (possibly self-taught) programmers, I welcome you.

Then, of course, there are the programmers like me, who have been around for a while. Like many programmers of my era, I started off with assembler and BASIC and went through Pascal, C++, Perl, Java, PHP, Ruby, C, C#, and JavaScript.

At university, I was exposed to more niche languages such as ML, LISP, and PROLOG. Many of these languages are near and dear to my heart, but in none of these languages do I see so much promise as I do in JavaScript. So I am also writing this book for programmers like myself, who have a lot of experience and perhaps a more philosophical outlook on specific technologies.

No experience with Node is necessary, but you should have some experience with JavaScript. If you’re new to programming, I recommend Codecademy. If you’re an intermediate or experienced programmer, I recommend my own book, Learning JavaScript, 3rd Edition (O’Reilly).

web development, node, express, javascript

The examples in this book can be used with any system that Node works on (which covers Windows, macOS, and Linux, among others). The examples are geared toward command-line (terminal) users, so you should have some familiarity with your system’s terminal.

Most important, this book is for programmers who are excited. Excited about the future of the Internet and want to be part of it. Excited about learning new things, new techniques, and new ways of looking at web development. If, dear reader, you are not excited, I hope you will be by the time you reach the end of this book….

Notes on the Second Edition

It was a joy to write the first edition of this book, and I am to this day pleased with the practical advice I was able to put into it and the warm response of my readers.

The first edition was published just as Express 4.0 was released from beta, and while Express is still on version 4.x, the middleware and tools that go along with Express have undergone massive changes. Furthermore, JavaScript itself has evolved, and even the way web applications are designed has undergone a tectonic shift (away from pure server-side rendering and toward single-page applications).

While many of the principles in the first edition are still useful and valid, the specific techniques and tools are almost completely different. A new edition is overdue. Because of the ascendance of SPAs, the focus of this second edition has also shifted to place more emphasis on Express as a server for APIs and static assets, and it includes an SPA example.

Editorial Reviews

About the Author

Ethan Brown is the Director of Technology at VMS, where he is responsible for the architecture and implementation of VMSPro®, cloud-based software for decision support, risk analysis, and creative ideation for large projects. He has over 20 years of programming experience, from embedded to the Web, and has embraced the JavaScript stack as the web platform of the future. He is author of the first edition of Web Development with Node and Express (O’Reilly).

Product details

  • Publisher ‏ : ‎ O'Reilly Media; 2nd edition (December 17, 2019)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 343 pages
  • ISBN-10 ‏ : ‎ 1492053511
  • ISBN-13 ‏ : ‎ 978-1492053514
  • Item Weight ‏ : ‎ 1.25 pounds
  • Dimensions ‏ : ‎ 7 x 0.75 x 9 inches
  • Customer Reviews:
    4.2 4.2 out of 5 stars 82 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Ethan Brown
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read author blogs and more

Customer reviews

4.2 out of 5 stars
4.2 out of 5
82 global ratings
MUST HAVE BOOK FOR COMPLETE UNDERSTANDING OF NODE/EXPRESS, GREAT REFERENCE!!
5 Stars
MUST HAVE BOOK FOR COMPLETE UNDERSTANDING OF NODE/EXPRESS, GREAT REFERENCE!!
THIS BOOK IS THE BEST NODE/EXPRESS BOOK I HAVE USED AND I HAVE USED PRETTY MUCH ALL OF THEM. A MUST HAVE RESOURCE OR REFERENCE IN YOUR LIBRARY!!I felt compelled to write a review because I read some of the other feedback and it is clear that the those who wrote them are extreme beginners, who couldn't appreciate how excellent this book is yet.I first found this book after multiple courses on Node and it really does an OUTSTANDING job of laying everything out and making everything come together in a way that makes sense.The code examples in Github are excellent. I even refactored the Meadowlark example a few times for apps and it was great. Sometimes I need a specific bit of code and I just go to the repo for it because the chapters are laid out well into different functional pieces.The author, Ethan Brown, practically lays everything out because he is a practitioner himself and I think he does an excellent job of laying out details that you won't pick up in a bootcamp or other books. For example, I love that he lays out all the req. and res. methods in a list format; 99% of those who just completed a bootcamp will not have that complete understanding.After I read this book, I had a much more complete understanding of Node and Express.I consider myself pretty experienced now, and I still go back to it as a reference from time to time.This book is #1 in my top 3 Node and Express books. I consider it a MUST HAVE for those who want a full understanding.I completely marked up the first edition with notes (picture attached) and I bought the second edition because there were some new additions. Ethan focuses on Handlebars, I hope the a next edition adds EJS.AGAIN MUST HAVE RESOURCE OR REFERENCE IN YOUR LIBRARY!!
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on August 12, 2020
I liked the way I could follow along in the development cycle to get where the author wanted the reader to go.

I read word for word the first 12 or so chapters building the whole project in some cases from scratch and in
some just copying the GitHub copies so I did not have to type everything. But I ended up with a project I
modeled my live project from. Somewhere after the 12th Chapter I was just reading for understanding
since the database used was not my preference. I found a lot of the information parted in the later chapters
to be helpful references for things I was doing live and did do a few months later.

When I ran into understanding issues on the use of the promises and how they really work I found the additional
insights that I was able to get from Ethan helped me to understand more fully how the whole synchronous
verses async processes really worked in software. I was aware of this on the hardware level but not on the software,
As an electrical engineer I have always known how async processes do not easily mix with synchronous. I have to admit that the added help I got from the Author via email enlightened me in this area.
So if anything I would say that it should be a little additional chapter to the book in the next edition if there is one. But not necessary as the book as it is is a very good instructional text for hands on folks.like me.

The only thing needing some more refinement, I think, was the hand-off to Single page and React. I enjoyed
this part of the book but I could not bring my project along to do the same thing the author had done with
his. I think it was because at that point I was pretty much committed to all of the items that I was using in
Express and did not want to let them go in the name of progress. I have since been delving into React and
Restful just to understand what all of the hyp is about.

The bottom line is that the experience I got from the author's book propelled me thoroughly into the wonders of the node.js world.
3 people found this helpful
Report
Reviewed in the United States on July 26, 2022
This is one of the best technical books I have ever read. The author explains everything in plain English and does a great job of explaining why he chooses a specific option when faced with multiple choices (for example, his choice of handlebars for templating).

If you are already familiar with JavaScript and want to learn how to build Web Apps with Express, this is an excellent starting point.
One person found this helpful
Report
Reviewed in the United States on February 26, 2020
I made the plunge to purchase this onto my kindle today to follow along to see what this book can offer me, as I was looking for a good book that could cover the subject of nodejs used for web development. After reading to the chapter on testing, which starts around chapter 5, I actually decided to return the book, and I will list my reasons for what lead me to do so.

For one thing, as this may not be a con for other but is a con for myself, the entire book is completely text based. Their is not a single image or depiction of what you should be expecting to be rendered on the screen on any part of the book, and for a book that is essentially web development, I'm not expecting beautiful magazine levels of imagery, but a mock up to a site would be appropriate so a user has an expectation for what they are building.

The Subject matter, in my honest opinion is covered in a way that makes this book seemed to be topic based, which would be fine, if you are establishing different levels of output or repositories of example code for someone to follow along with the subject, but from chapter 3 as established by the author, is a project based book. From the point that I was reading in, it felt to me that the subject matter was entirely out of sequence in terms of best practices for any kind of developer e.g. Why are we discussing not even 10% of the way through the book unit testing, when the author even notes that we do not have any kind of data to even test, except for the fortune example that is given in order to explain exports within nodejs? Since we are building a standalone project, an appropriate solution would have been to create a brand new file to use testing on instead of making testing on a project that Literally has 2 status code routes, along with 2 routes with a simple text that explains the route.

I cannot attest to whether or not the git code does not work within the book, however a Major flaw that was the catalyst in my decision was after skimming through chapter 5, the contents of chapter 6 almost completely discard the added code that was made a chapter ago with routes. A non experienced developer on the subject that is simply following along with the book would've had errors from simply rendering content written by the author.

I recommend finding a different book, if not using official documentation in order to learn the node library, with a video supplement in order to get your goals if you are trying to learn nodejs for web development, and especially if you want to learn the language in itself, as from what I could tell, the order in which core node modules that are built within the node framework are not addressed before diving straight into express, although, I do not see this personally as a con.
17 people found this helpful
Report

Top reviews from other countries

Just Some Guy
4.0 out of 5 stars A Solid Breakdown of Express, I Just Wish it Had Much More!
Reviewed in the United Kingdom on March 21, 2022
This is a good book. It pretty much assumes you already understand how Node works, so dives right into Express. It starts at the basics, and methodically works its way up to cover everything you really need to know. It does a nice job of providing helpful code examples and use case scenarios to tie it all together, and the writing is clear and easy for any mid-level JS developer to understand.

My only complaints are that the last 1/4 of the book is almost entirely general Node stuff, rather than being Express-specific (ex: a chapter on SPAs, Node debugging, using 3rd APIs (like twitter), best practices for maintenance, etc.). That's nice, but it comes at the expense of having more detailed examples of real-world Express code and use cases.

By contrast to the above, things that are lacking:
- Using multiple Express.Router instances to divide routes into more manageable modules is almost entirely undiscussed
- There is barely any example implementation or detail of an actual API implemented in Express
- Authentication is pretty well covered, but Authorization routing approaches (RBAC/ABAC) are barely discussed.
- More depth on writing custom middleware would have been nice (patterns, gotchas, best practices, etc.)

My other big complaint is that ES6 Module syntax isn't touched on _at_all_ as it relates to Express. All the code in the whole book uses the CommonJS ( require(...) ) syntax. That's great, but a book printed in 2020 should cover ES6 Modules. (Note: He _does_ use ES6 in the SPA chapter, which has several JSX code samples, but he never actually mentions this difference or acknowledges that ES6 Modules can work in Node as well).

Since all my complaints are about things that are missing, I still give it 4 stars. What this book does cover is solid, detailed, and easy to understand. This book is worth reading for anyone wanting to learn or brush up on Express.
One person found this helpful
Report
JACK
2.0 out of 5 stars Not well organized. Code is confusing
Reviewed in Canada on December 23, 2019
- Code on Githut doesn’t match that in the book.
- Not enough explanations for the code, especially big chunks is code
One person found this helpful
Report
J
1.0 out of 5 stars Fills a gap in the market that doesn't exist
Reviewed in the United Kingdom on February 24, 2023
This book covers many topics at a superficial level, but none in depth. The problem with that is that if you read the book as an introduction when you have no knowledge, then you won't really comprehend what the topics being introduced are about - you need to experience them for them to start to make sense. But when you experience the concepts whilst developing - either as you recognise there is a gap in your knowledge about how to achieve a certain aim, or you are resolving an issue - then there is no point turning to this book as it doesn't contain the detail you will need and you will need to go searching the web.

For me, this is a well-written (i.e. clear language and structure) but entirely pointless book.