No description
Find a file
2018-06-28 17:53:58 -07:00
functions Add batch delete 2018-06-20 20:25:39 -07:00
public add clear all 2018-06-20 17:21:17 -07:00
scripts add omnipotent prebuild for database setup 2018-06-20 20:54:56 -07:00
src close modal faster 2018-06-20 20:31:39 -07:00
.gitignore add clear all 2018-06-20 17:21:17 -07:00
netlify.toml add line break 2018-06-20 21:24:55 -07:00
package.json add omnipotent prebuild for database setup 2018-06-20 20:54:56 -07:00
README.md update readme 2018-06-28 17:53:58 -07:00
webpack.config.js add web pack build fix 2018-06-11 16:35:43 -07:00

Netlify + FaunaDB

Example of using FaunaDB with Netlify functions

Deploy this app with one-click via this link:

Deploy to Netlify

About this application

This application is using React for the frontend, Netlify Functions for API calls, and FaunaDB as the backing database.

faunadb netlify

Install

  1. Clone down the repository
git clone git@github.com:netlify/netlify-faunadb-example.git
  1. Install the dependencies
npm install
  1. Bootstrap your FaunaDB table
npm run bootstrap
  1. Set your Fauna API key value in your terminal enviroment

You can create faunaDB keys here: https://dashboard.fauna.com/db/keys

In your terminal run the following command:

export FAUNADB_SECRET=YourFaunaDBKeyHere
  1. Run project locally
npm start