Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Provider Logo

Web Servers and APIs using C++

via LinkedIn Learning


Learn how to build data-driven websites and make RESTful API calls using C++.

C++ has re-emerged as a go-to language for developing high-performance websites and web applications. C++ compiles to machine code, making it faster to start up and execute. For users, this means less time waiting for a site to render. This course teaches developers how to build a website powered by a MongoDB database and deploy it with a Heroku cloud server, all with C++. Instructor Troy Miles—a senior software developer—shows how to build and deliver HTML webpages; upload, download, and parse JSON data; make RESTful API calls; and even do real-time communication using WebSockets. Along the way, he shows how to resolve one of the main challenges of C++ web development—a complex toolchain that must be synced in development and production—using Docker containers.


  • Why use C++ to make a website?
  • What you should know
1. Installing Our Tools
  • Installing Docker
  • Installing Atom
  • Creating a Dockerfile
  • Running a Dockerfile
  • Adding a volume
  • Building Crow
  • Serving the example
  • Challenge: Modify the example page
  • Solution: Modify the example page
2. Deploying to Heroku
  • Creating a Heroku account
  • Installing the Heroku CLI
  • Deploying our container to Heroku
  • Saving our container to Docker Hub
3. Building Websites
  • Creating HTML pages
  • Serving HTML pages
  • Serving static content
  • Challenge: Create a new webpage
  • Solution: Create a new webpage
4. Data Access
  • Creating an mLab account
  • Uploading JSON data
  • Adding the MongoDB C++ drivers
  • Querying Mongo data
  • Adding dynamic data to a page
  • Challenge: Create a webpage with data
  • Solution: Create a webpage with data
5. RESTful APIs
  • Creating an endpoint
  • Parsing the path
  • Reading the query string
  • Converting to JSON data
  • Challenge: Create an endpoint
  • Solution: Create an endpoint
6. WebSockets and Crow
  • Reviewing the JavaScript client code
  • Creating the C++ server code
  • Running WebSocket on Heroku
  • Next steps

Taught by

Troy Miles

Related Courses


0.0 rating, based on 0 reviews

Start your review of Web Servers and APIs using C++

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free