Skip to main content

Creating a Web Server

  • Chapter
  • First Online:
  • 2447 Accesses

Abstract

To get started on the web side of connecting Arduino to the Web, it is useful to have a basic understanding of web technologies. This chapter will go through some of the principles, including what a web server is, how a URL is constructed, what routes are, and what Node.js is. It will then get practical, and you will learn how to create a web server with Node.js and send data back and forth from the server to a web page. It will cover Node.js, ejs, and socket.io.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Indira Knight

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Knight, I. (2018). Creating a Web Server. In: Connecting Arduino to the Web. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3480-8_2

Download citation

Publish with us

Policies and ethics