How to structure your monorepo to re-use existing code with Inngest functions
This example repo serves as a companion to the Inngest guide: Trigger your code from Retool. This is a basic example that shows you how you can:
retool/backfill.requested event with your code/lib)/function dir/lib and within /functionsinngest.json file (docs) defines the event(s) handled by the function and the path to the custom Dockerfile (see runtime.dockerfile in functions/backfill-user-data/inngest.json)/lib and prints the output as JSON (e.g. functions/backfill-user-data/index.js)This is basic example to show you how you could structure this, but there are several different ways that you could accomplish the same thing.
Join our Community in Discord and drop us a line!