From 6f4c5d71955371c5b730f60f9d6fc0de2ed25f22 Mon Sep 17 00:00:00 2001 From: Balu Babu Date: Thu, 12 Jan 2023 23:19:38 +0530 Subject: [PATCH] chore: created .env.example file to store env variables --- packages/hoppscotch-backend/.env.example | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/hoppscotch-backend/.env.example 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 +POSTMARK_SENDER_EMAIL=support@hoppscotch.io + +# 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" +