Build an interactive and full-featured web application from scratch using Node.js and MongoDBAbout This BookConfigure your development environment to use Node.js and MongoDBExplore the power of development using JavaScript in the full stack of a web applicationA practical guide with clear instructions to design and develop a complete web application from start to finishWho This Book Is ForThis book is designed for developers of any skill level that want to get up and running using Node.js and MongoDB to build full featured web applications. A basic understanding of JavaScript and HTML is the only requirement for this book.
What You Will LearnSet up a development environment and install Node.js and MongoDBWrite and configure a web server using Node.js powered by the Express.js frameworkBuild dynamic HTML pages using the Handlebars template enginePersist application data using MongoDB and Mongoose ODMCreate and consume RESTful APIsTest your code using automated testing toolsDeploy to the cloud using services such as Heroku, Amazon Web Services, and Microsoft AzureExplore Single Page Application frameworks to take your web applications to the next levelIn DetailNode.js and MongoDB are quickly becoming the most popular technologies in the world of full stack JavaScript development. Powered by Google's V8 JavaScript runtime, Node.js caters to easily building fast, scalable network applications while MongoDB is the perfect fit as a scalable, high-performance, open source NoSQL database solution. Using these two technologies together, web applications can be built quickly and easily and deployed to the cloud with very little difficulty.
This book will enable you to leverage the key features of both MongoDB and Node.js in web and mobile app development. Starting with setting up your development environment, it will guide you through how to write your first Node.js web server application from scratch. Along the way, you will learn about best practices and common mistakes while mastering the core concepts of web development.
A short summary: Excellent source of information on both web development in general, and NodeJS/MongoDB specifically. Recommended for anyone remotely interested in JavaScript, NodeJS, or web development.
This eBook manages to do almost everything right. By the end of the book, you’ll have been led through the entire process of designing and testing a web application using Node.js and MongoDB, as well as having some extra information in the last few chapters. The one problem I ran into was in Chapter 4 (Express.js). The current version of npm (at the time of writing: 2.1.2) did not allow me to install a working version of Express.js 3.5.1, due to changes in dependency packages. Instead, I had to follow the instructions while taking into account the information at the end of chapter 4 (on Express.js version 4).
Apart from this one small setback (which, in all honesty, cannot be attributed to the author) the book is written very clearly, and laid out in the way one would approach such a project. The formatting of the book allows the reader to clearly understand what sections of code are relevant to the explanation, and the supplied downloads offer working examples for each chapter (while some changes may be required for the Express.JS files). By the end of the book, you should have a good idea of how to approach such a project, as well as having a working application. From there, you should have a good foundation for starting a project of your own design.
If you’re interested in gathering as much information as possible on this topic, the book also offers relevant links and as much extra information as can be included without detracting from the actual material of the book. Along with this abundance of information, the formatting of the book (the pub version at least) offered a very thorough table of contents, and a linked index section at the back of the book. Couple this with the ability to search the ebook, you should be able to find any relevant information as quickly and efficiently as possible.
This book contains hands-on instructions for getting started with development of complete interactive Web sites using up-to-day Web technologies. It empowers readers with practical knowledge of Node.js and MongoDB. The first chapter describes new concepts of Web development, which were introduced with Node.js. From chapter 4, Writing an Express.js Server, we are guided to create a sample Web application, which includes all main functionality of real-world applications, based on the usage of Express.js Web framework. Chapter 9, Testing Your Code, introduces the tools and techniques to write automated tests for Node.js code. Chapter 10, Deploying with Cloud-based Services, provides detailed instructions for Cloud-based deployment and hosting of Web applications. In chapter 12, Popular Node.js Web Frameworks, author reviews other Web frameworks, including recently-emerged ones, and analyzes their advantages, drawbacks and cases of usage. The book is written by clear and concise language. The content includes a lot of code fragments, schemes, and screenshots. Each chapter ends with Summary section, which recapitulates all the main topics of the chapter. There are several reminder sections, like A JavaScript Primer, which recalls JavaScript basics, or What is an API, which discusses API development concepts. All chapters include links to additional information resources. For all main technologies being discussed, detailed step-by-step installation instructions are provided for Windows, Mac OS, and Linux environment, which greatly stimulate readers to download and try all the stuff. I think that this book can be useful for all Web developers, who want to use modern technologies for creating powerful and scalable Web applications.