Learn how to build data-driven websites and make RESTful API calls using C++.
Overview
Syllabus
Introduction
- Why use C++ to make a website?
- What you should know
- 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
- Creating a Heroku account
- Installing the Heroku CLI
- Deploying our container to Heroku
- Saving our container to Docker Hub
- Creating HTML pages
- Serving HTML pages
- Serving static content
- Challenge: Create a new webpage
- Solution: Create a new webpage
- 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
- Creating an endpoint
- Parsing the path
- Reading the query string
- Converting to JSON data
- Challenge: Create an endpoint
- Solution: Create an endpoint
- Reviewing the JavaScript client code
- Creating the C++ server code
- Running WebSocket on Heroku
- Next steps
Taught by
Troy Miles