Skip to content

mbleuer/netlify-express

This branch is up to date with neverendingqs/netlify-express:master.

Folders and files

NameName
Last commit message
Last commit date
Sep 28, 2019
Aug 19, 2018
Aug 20, 2018
Aug 20, 2018
Sep 28, 2019
Aug 22, 2018
Sep 28, 2019
Sep 28, 2019
Sep 28, 2019
Aug 20, 2018

Repository files navigation

Express.js on Netlify Example

Netlify Status

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 https://netlify-express.netlify.com/!

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 https://netlify-express.netlify.com/.netlify/functions/server
curl https://netlify-express.netlify.com/.netlify/functions/server/another
curl --header "Content-Type: application/json" --request POST --data '{"json":"POST"}' https://netlify-express.netlify.com/.netlify/functions/server

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.7%
  • HTML 11.3%