Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: created .env.example file to store env variables

Balu Babu6f4c5d719553
diff --git a/packages/hoppscotch-backend/.env.example b/packages/hoppscotch-backend/.env.example
new file mode 100644
index 000000000..234df53fb
--- /dev/null
+++ b/packages/hoppscotch-backend/.env.example
@@ -0,0 +1,15 @@
+# Prisma Config
+DATABASE_URL=postgresql://postgres:testpass@dev-db:5432/hoppscotch
+
+# Postmark Config
+POSTMARK_SERVER_TOKEN=postmark-token-here
+
+# Auth Tokens Config
+JWT_SECRET='add some secret here'
+REFRESH_TOKEN_VALIDITY="168h" # Default validity is 7 days
+ACCESS_TOKEN_VALIDITY="30s" # Default validity is 1 day
+
+# Hoppscotch App Domain Config
+APP_DOMAIN="http://localhost:3000"
+