siddhant1 / poc-headless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getting-started

This code is from the Quickstart guide for getting started with Flatfile.

Setup Local Environment Variables

Rename .env.example to .env and update to your creds. This file should look like:

Developing

If using javascript, run npx flatfile develop javascript/index.js to start a local listener.

If using typescript, run npx flatfile develop typescript/index.ts to start a local listener.

Deploying

Use npx flatfile deploy <file name> to deploy your listener to Flatfile

See all code examples

To see all of the code examples from the docs, head to the flatfile-docs-kitchen-sink repo.

About


Languages

Language:TypeScript 55.7%Language:JavaScript 44.3%