Check out a free preview of the full Serverless with AWS Lambda course
The "Lambdas on Express Exercise" Lesson is part of the full, Serverless with AWS Lambda course featured in this preview video. Here's what you'd learn in this lesson:
In this exercise, students convert an application to use Express's routing.
Transcript from the "Lambdas on Express Exercise" Lesson
[00:00:00]
>> Scott Moss: All right, so what you're gonna be doing is exactly what I just did, if you check out to lesson three if you haven't done already, this is gonna convert what you have over to an express app, redeploy it, and see if it works. Do some post requests, do some get requests, set up some nested, if you know Express you can set up nested routers on here.
[00:00:22]
All right, so you can say, you can make a new router that looks like express.Router and then you can add this router. You can mount it on some other apps. So do that and see if it works as expected. Maybe it doesn't. Maybe it does, I don't know.
Learn Straight from the Experts Who Shape the Modern Web
- In-depth Courses
- Industry Leading Experts
- Learning Paths
- Live Interactive Workshops