Skip to content

DavidWells/addon-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building Netlify Addons with Netlify Functions

This is an example implementation of the Netlify Addon Provider API.

For more information on addons see the repo.

Install

Install the dependencies

npm install

cd functions && npm install

Install the netlify CLI

npm install netlify-cli -g

Setup

  1. Fork this repo

  2. Clone down your fork

  3. Initialize a new netlify site (or link it)

    netlify init

    Or link to existing site

    netlify link
  4. Run build

     npm run build
    
  5. Deploy the functions

     npm run deploy
    

This will deploy your netlify site + the addons api (as a serverless function)

About

Example Netlify Add-on API using Netlify functions

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published