Coder Social home page Coder Social logo

gatsby-functions-beta's Introduction

Gatsby

Gatsby Functions Examples

๐Ÿ›  Quick Start with Functions

  1. Install gatsby ^3.4

    Make sure you're using the latest version of Gatsby to get functions included by default.

    yarn add gatsby@latest
  2. Add the flag FUNCTIONS: true

    Add the FUNCTIONS flag to your gatsby-config.js

    module.exports = {
      flags: {
        FUNCTIONS: true,
      },
      // ...Other configuration
    }
  3. Add gatsby-plugin-gatsby-cloud

    To ensure propering routing across all your builds in Gatsby Cloud, include the Gatsby Cloud plugin in your project.

    yarn add gatsby-plugin-gatsby-cloud

๐Ÿš€ Using the Examples

  1. Browse Examples.

    Browse the examples folder included here. You'll find a variety of examples including how to submit forms, send emails, and how to handle authentication.

  2. Deploy to Gatsby Cloud.

    On each example's README, you'll find instructions on how to deploy the project to Gatsby Cloud. Add any necessary API keys for that example and you'll have an example site up in minutes!

  3. Build! Iterate! Ship!

    Deploying to Gatsby Cloud automatically creates a Github repository where you can pull your code down locally to continue building, iterating, and shipping your code on Gatsby Cloud.

  4. Learn more

๐Ÿ™Œ Contributing

  1. Fork this repo Make your own clone of this repo to add examples of functions that you've built.

  2. Add Your Functions Add your functions examples as a new Gatsby site example in the /examples/ directory and then make a Pull Request on this repo.

gatsby-functions-beta's People

Contributors

jsumnersmith avatar kyleamathews avatar pvorozhe 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.