Skip to content

Netlify

"An intuitive git-based workflow. A powerful serverless platform. Netlify unites everything teams need to build & run dynamic web experiences - from first preview to global production."

CLI

Netlify command line tool.

  • netlify dev - Local dev server
  • netlify api --list - Run any Netlify API method
  • netlify functions:invoke - Trigger a function while in netlify dev with simulated data

Functions

Example

A few functions are used on this site (specifically this repo), e.g.

  • https://bluer.io/.netlify/functions/hello

Local workflow

netlify dev
netlify functions:invoke