Join Troy Miles for an in-depth discussion in this video Adding the MongoDB C++ drivers, part of Web Servers and APIs using C++.
- In order to access our database on mLab,…we need to add the MongoDB C++ driver library…to our code. Unfortunately, we can't…simply download it. We need to build it.…And before we can build the C++ library,…we need to first build the C library it requires.…Let's get a new Docker image that will…build and install the libraries.…So let's return to Atom. In Atom, we're gonna…right click on "hello crow". We're gonna say new,…folder, we're gonna name this folder "bbox".…
Then, the Docker file we need is a bit complicated.…So to reduce errors I've provided a copy of it…in the exercise files for Chapter 4 in section 04_03.…So let's go back to our "Exercise Files", 04, 03.…Here's our Docker file. We're gonna do a…Command + C to copy it. Then we're gonna…come back to Atom, we are gonna right click on "bbox".…
We're gonna click on "Show in Finder",…with "bbox" selected. We're gonna do a…Command + V to paste the Docker file.…And we can just close that guy up.…Come back here, reveal it, and click it.…Now, here is our new Docker file.…
- Working with Crow, the C++ micro web framework
- Deploying containers to Heroku
- Building websites and webpages
- Accessing data from a database
- Accessing data via RESTful APIs
- Creating API endpoints
- Running WebSockets on Heroku
Skill Level Intermediate
1. Installing Our Tools
2. Deploying to Heroku
Installing the Heroku CLI1m 17s
3. Building Websites
4. Data Access
5. RESTful APIs
6. WebSockets and Crow
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.