Join Troy Miles for an in-depth discussion in this video Uploading JSON data, part of Web Servers and APIs using C++.
- [Instructor] We have a MongoDB instance…running in the cloud.…We need to install MongoDB locally…so we can use its tools.…Go to www.mongodb.com/download-center.…Be sure to download the free community server edition…for your operating system.…If you have a Mac, I highly recommend using home brew.…I'm going to use it now, so let's go back to the terminal.…I'm gonna first do a brew update…and then I'm gonna do a brew install MongoDB.…
This will take just a few seconds…and now we have MongoDB installed…and we can use its tools.…We are going to seed our database…with some contact information.…Included in the exercise files is contacts.json…which is structured like the data on the slide.…Each contact has five fields, all strings.…So we have a first name, last name,…email, photo, and phone…for each contact.…We need to copy our connection string from mLab.…
You can use the link on our app's dashboard on Heroku,…so we can use this link right here, mLab MongoDB.…This will take us back to the database for our app…and we need to copy the information just below…
- 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.