Book Image

Node.js Blueprints

By : Krasimir Stefanov Tsonev
Book Image

Node.js Blueprints

By: Krasimir Stefanov Tsonev

Overview of this book

Table of Contents (19 chapters)
Node.js Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 11. Writing a REST API

In the previous chapter, we learned how to optimize our CSS writing. We learned about the most popular architectural concepts and checked out the available CSS preprocessors. This chapter is about building a REST API with Node.js. We are going to:

  • Run a web server

  • Implement routing mechanisms

  • Process the incoming requests

  • Send a proper response