Netlify Serverless Functions for the Foxy.io API

This repository allows for easily creating serverless functions to work with the Foxy.io API, deployed using Netlify. The goal is to make this as approachable as possible, so we're avoiding unnecessary

Functions

The functions provided in this repository can be used independently, or as a reference for building your own functinos. Be sure to check the README for each function in the functions folder.

Localdev Setup

  1. npm install -g netlify-cli
  2. netlify login
  3. netlify link or netlify init
  4. netlify dev will start things locally, and will launch your project at http://localhost:8888 or comparable.

That will stay running in your terminal. Open up a new tab to your project's directory, and you can run netlify functions:list to see your serverless functions. You can then load them up like http://localhost:8888/.netlify/functions/get_cart to test.

Deploy to Netlify

code style: prettier