903 B
903 B
Netlify + FaunaDB
Example of using FaunaDB with Netlify functions
Deploy this app with one-click via this link:
Install
- Clone down the repository
git clone git@github.com:netlify/netlify-faunadb-example.git
- Install the dependencies
npm install
- Bootstrap your FaunaDB table
npm run bootstrap
- 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
- Run project locally
npm start