GithubHelp home page GithubHelp logo

andrewstiefel / buttondown-netlify-function Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 29 KB

Newsletter subscription form using Netlify Functions and Buttondown API

Home Page: https://buttondown-netlify-functions-demo.netlify.app

License: MIT License

HTML 59.47% JavaScript 14.29% CSS 26.23%
buttondown buttondown-api netlify netlify-forms netlify-functions newsletter-signup

buttondown-netlify-function's Introduction

buttondown-netlify-function

This is a demo of a simple, custom newsletter subscription form built with Netlify Functions and the Buttondown API. It includes a serverless function, a basic HTML form, and a minimal landing page.

View the demo site: https://buttondown-netlify-functions-demo.netlify.app

Deploy to Netlify

Deploy your own version of this example site, by clicking the Deploy to Netlify Button below. This will automatically:

  • Clone a copy of this repo to your own GitHub account
  • Create a new project in your Netlify account, linked to your new repo
  • Create an automated deployment pipeline to watch for changes on your repo
  • Build and deploy your new site

Deploy to Netlify

Install and run this example locally

You can clone this example repo to explore its features and implementation, and to run it locally.

# 1. Clone the repository to your local development environment
git clone [email protected]:netlify/buttondown-netlify-function.git

# 2. Move into the project directory
cd buttondown-netlify-function

# 3. Install the Netlify CLI to let you locally serve your site using Netlify's features
npm install -g netlify-cli

# 4. Serve your site using Netlify Dev to get local serverless functions
netlify dev

Create an environment variable

You must create and add your Buttondown API key as an environment variable for your Netlify site before the serverless function will work.

License

MIT License

buttondown-netlify-function's People

Contributors

andrewstiefel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.