netlify / functions.netlify.com

Tutorials, examples, workshops and a playground for serverless with Netlify Functions
https://functions.netlify.com
516 stars 129 forks source link
jamstack lambda netlify serverless

functions.netlify.com

Everything you ever wanted to know about Netlify Functions ⚡️

Netlify Status

Contents

Suggesting an example or tutorial

Please create an issue in order to submit contributions to be considered for inclusion in this site.

Choose the approprite issue type from the New Issue page.

Installing

  1. Clone the repo using git clone git@github.com:netlify/functions.git
  2. Use npm to install dependencies npm install
  3. Create a .env file with the environment variables listed below
  4. And run the site locally npm run dev

Environment variables

You'll need to generate a GitHub Access Token to retrieve stars and forks. Add the following to your .env file:

URL=http://localhost:8080
GITHUB_TOKEN=
SLACK_WEBHOOK_URL=
GREETING="hi from the Netlify functions site"

Options

Dependencies

All dependencies are development at the moment

Credits