To test:
- Run
npm install
to get the dependencies - Add your Infisical Client ID and Secret to
supabase/.env
(copy fromsupabase/.env.example
for ease) - Run
supabase start
(ornpm run supabase start
if you don't have localnode_modules/.bin
on your$PATH
) - Run
supabase functions serve --no-verify-jwt
to start serving the functions locally - Use the curl command in the comment at the bottom of
supabase/functions/infisical-test/index.ts
to hit the endpoint - You should see logs in the terminal window were you served the functions