The DevXP engineering team hosts office hours every Thursday at 11 a.m.
Pacific Time where we answer your questions live and help you get up and
running with Flatfile. Join
us!
Before you begin
You can add a.env
file to bypass having to enter your API Key when running the develop command.
Develop
Runnpx flatfile develop
from terminal to launch a local listener. As your code changes, file changes are detected and will be reflected
immediately.
Add the file name to the command:
npx flatfile develop path-to-file
if
you’re not running an index file.- In your terminal, you’ll see a detailed log of each HTTP request made within a listener. It includes the request timing and status, enabling tracking and debugging of HTTP operations.
- A pub/sub stream system will deliver Events with a latency of approximately 10-50ms. This provides a local development experience closely resembling the production environment speed.
- Events that are being processed will be shown, along with their respective handlers. You can then respond to those Events accordingly.