项目
在 GitHub 查看
netlify/functions.netlify.com
关于
使用 Netlify Functions 进行无服务器开发的教程、示例、工作坊和 Playground
学习资源实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文functions.netlify.com
Everything you ever wanted to know about Netlify Functions ⚡️
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
- Clone the repo using
git clone [email protected]:netlify/functions.git - Use npm to install dependencies
npm install - Create a
.envfile with the environment variables listed below - 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
npm run devwill spin up a development environment and watch for changesnpm run buildbuilds a production version of the site todistnpm run debugwill run the eleventy debugger
Dependencies
All dependencies are development at the moment
@11ty/eleventydotenv@11ty/eleventy-plugin-rss@11ty/eleventy-plugin-syntaxhighlight@quasibit/eleventy-plugin-sitemapeleventy-plugin-sasseleventy-plugin-seo
Credits
- Andy Bell for modern CSS reset
- Yair Even Or for Tagify
探索相关项目
加载中…