Skip to content

pvinis/functions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

169 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 smashingconf"

Options

  • npm run dev will spin up a development environment and watch for changes
  • npm run build builds a production version of the site to dist
  • npm run debug will the eleventy debugger

Dependencies

All 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

Credits

About

Tutorials, examples, workshops and a playground for serverless with Netlify Functions

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • SCSS 37.8%
  • Nunjucks 35.3%
  • JavaScript 26.9%