Join Troy Miles for an in-depth discussion in this video Creating an mLab account, part of Web Servers and APIs using C++.
- [Instructor] Let's create our database.…Go to heroku.com and log in, if you're not already.…Find the app we created.…For me it's infinite falls 24876.…Click the link, then go to configure add-ons.…In the search box type MongoDB and click on M lab MongoDB.…Make sure that sandbox dash free is selected.…
Then click provision.…Now Heroku has created our M lab Mongo database.…If we wanna know what the connection string is,…all we have to do is go to settings,…go to review config vars,…and here is the environment variable…that will exist on Heroku…to give us a connection string to our database.…So it's MongoDB underscore uri.…Let's hide that.…Now if we go back to the overview section,…and we click on M lab MongoDB,…here's our database information.…
I'm gonna click on users,…and we're gonna say add database user.…And what we're gonna do is we're gonna create a user…that we can use to manage our database programmatically.…So we're gonna say admin, give it a password.…Make sure that make read only is not checked.…And click create.…
- 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.