In this video, learn how to run MongoDB locally.
- [Instructor] Our app is now able to run locally…as well as in AWS Lambda, but not all of the end points…are functioning correctly.…All of the end points which make MongoDB calls…are failing because they don't have a connection string.…So if we go back to our Lambda,…go back down to our environment variables,…expand them, I'm just going to copy this…and then go to IntelliJ, and then inside of IntelliJ,…we're going to go into the Run menu,…into the Edit Configurations.…
Here is the configuration that runs…when we're executing the main from our Lambda handler.…Environmental variables, I'm going to click the dialogue box…to expand it, hit the Plus key,…then for name, I'm going to say MongoDB underscore connection.…For value, I'm going to paste what I just had, and say OK.…And then say OK again.…Now, we're going to go ahead again…and we are going to rerun this.…
And that'll let it have our MongoDB connection,…go back to the browser, go back to local host first,…I just want to do something simple that I hope will work.…
- Creating an AWS Lambda account
- Creating a simple Lambda function in Node.js
- Testing the Lambda function
- Creating Kotlin apps with Spark, IntelliJ IDEA, Maven, and the AWS library
- Binding the API gateway to your Lambda function
- Adding data with MongoDB
- Developing and debugging your Lambda function locally
Skill Level Intermediate
1. About AWS Lambda
2. Hello Lambda
3. Hello Kotlin Lambda
4. Making Your Lambda Web Visible
5. Adding Data with MongoDB
6. Developing and Debugging Locally
- 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.