Everything you ever wanted to know about Netlify Functions ⚡️
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.
git clone git@github.com:netlify/functions.git
npm install
.env
file with the environment variables listed belownpm run dev
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"
npm run dev
will spin up a development environment and watch for changesnpm run build
builds a production version of the site to dist
npm run debug
will run the eleventy debuggerAll dependencies are development at the moment
@11ty/eleventy
dotenv
@11ty/eleventy-plugin-rss
@11ty/eleventy-plugin-syntaxhighlight
@quasibit/eleventy-plugin-sitemap
eleventy-plugin-sass
eleventy-plugin-seo