From 2381ccd75cce61fe308802bf2897e4c4d54ff192 Mon Sep 17 00:00:00 2001 From: Saimon8420 Date: Sun, 9 Feb 2025 11:58:56 +0600 Subject: [PATCH] env added --- .env | 15 +++++++++++++++ .gitignore | 1 - env.example.js | 18 ++++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .env create mode 100644 env.example.js diff --git a/.env b/.env new file mode 100644 index 0000000..70c520d --- /dev/null +++ b/.env @@ -0,0 +1,15 @@ +SERVER_URL=http://localhost +SERVER_PORT=3000 + +DATABASE_URL=postgres://postgres:saimon%40567@localhost:5432/planpost_canvas + +MINIO_ACCESS_KEY=rEiuiqB8JCSmWt7AswOM +MINIO_SECRET_KEY=en3ut7Zp71uAfGrhvMkH6Pk7ZM1qZb9mFxj7KzD5 +MINIO_ENDPOINT=localhost +MINIO_PORT=9000 + +CLERK_SECRET_KEY=sk_test_X4OZbPdnr9ZxlccH8eaA7Ou0oQvQ9FpQ0mq0KuwLUz + +JWT_ACCESS_TOKEN_SECRET=planpostai%^$_%43%65576canvas%%$$ + +JWT_REFRESH_TOKEN_SECRET=planpostai!@43223_canvas$%^$349332$$ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 996fc0e..87e5610 100644 --- a/.gitignore +++ b/.gitignore @@ -25,7 +25,6 @@ yarn-debug.log* yarn-error.log* # local env files -.env .env.local .env.development.local .env.test.local diff --git a/env.example.js b/env.example.js new file mode 100644 index 0000000..13e0dc3 --- /dev/null +++ b/env.example.js @@ -0,0 +1,18 @@ +// all of these are required to run the project + + +// SERVER_URL +// SERVER_PORT + +// DATABASE_URL + +// MINIO_ACCESS_KEY +// MINIO_SECRET_KEY +// MINIO_ENDPOINT +// MINIO_PORT + +// CLERK_SECRET_KEY + +// JWT_ACCESS_TOKEN_SECRET + +// JWT_REFRESH_TOKEN_SECRET \ No newline at end of file