Infisical is optional. You can use .env files directly in your projects.

Create an account

Create 2 projects

Create 2 Projects with 3 environments: dev, staging, production.

  • Front End: Set an integration with Cloudflare Page
  • Back End: Set an integration with Supabase

Front End - Sample ENV file

//Required
VUE_APP_URL=http://localhost:8080/
VUE_APP_VERSION=DEV_0.0.2
VUE_APP_API=http://localhost:54321/functions/v1/api/
VUE_APP_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
VUE_APP_SUPABASE_URL=http://localhost:54321
VUE_APP_STRIPE_PRICING_TABLE=prctbl_1O80lDFdd453sqAdds
VUE_APP_STRIPE_PUBLISHABLE_KEY=pk_test_51Jtu0QFpysXPsIKHBV2PKHDWICIDfZJadBR44JPBEFTWO9PH8GixPdfmjPHZ6squpCt1qQf8mAAnd1xwKix5y28o00k6fLTgCN
VUE_UNLAYER_PROJECT_ID=145555
//CloudFlare Page
NODE_VERSION=16

//Optional
VUE_APP_HCAPTCHA_SITEKEY=f42862d2-1276-470a-9e13-caed2558583c

Back End- Sample ENV file

//Required
API_VERSION= "DEV_0.0.2"
APP_URL = "http://localhost:8080"
JWT_SECRET= "super-secret-jwt-token-with-at-least-32-characters-long"
WEBHOOK_URL = "https://events.hookdeck.com/e/src_UUNaLSSAbmpS"
STRIPE_API_KEY="sk_test_41Jtu0QFpysXPsIKHYNIP0ADpuxXBiTiHAFs5qlDhNhehPjafEfw7OYZ8ZdUVAb8O8GCrYjcHTpBHLLnORhrJeQAG00HvmvRvlY"
STRIPE_WEBHOOK_SIGNING_SECRET="whsec_zIFBeASJbyRkJwz247uR2RzUc41oaOBe"
DOPPIO_API_KEY="34cf15bb2fbc4a268c8f42f7"
EMAIL_API_KEY="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"
SMS_API_KEY="11D27D48E04555C5B9FCC109DA539B22-02-1"
SMS_API_SECRET="KCL63h#VrWPODWG#jyQd1e*iRf9B!"

//Optional
HCAPTCHA_SECRET="0x61557144E3205FFc2cE7Dd1df9668eA2Bed868AC"

Install Infisical CLI