DEV Community

Owen Conti 🇨🇦
Owen Conti 🇨🇦

Posted on

How to deploy express.js apps on Netlify

Top comments (4)

Collapse
 
abetoots profile image
abe caymo • Edited

Thank you! I was struggling with this for hours. The part for app.use() did it for me. Thank god I can keep using middleware.

Question: Do you know of a way of setting debugging up with breakpoints for the lambda functions? I just want to be able to step through my functions.

Collapse
 
thisisstefan_ profile image
Stefan aGz

where did the functions directory come from tho

Collapse
 
owenconti profile image
Owen Conti 🇨🇦

the netlify-lambda command creates the functions directory (based on the config file) when you run the serve/build commands

Collapse
 
anthonymwangi profile image
Anthony Mwangi

This was quite helpful. Thank You