Express.js hosted on Netlify
Clone or download

Express.js on Netlify Example

Deploy to Netlify

An example of how to host an Express.js app on Netlify using serverless-http. See express/server.js for details, or check it out at!

index.html simply loads html from the Express.js app using <object>, and the app is hosted at /.netlify/functions/server. Examples of how to access the Express.js endpoints:

curl --header "Content-Type: application/json" --request POST --data '{"json":"POST"}'