From 7445cd5032a02b0f3916416054fe8b267583641a Mon Sep 17 00:00:00 2001 From: nkhangg Date: Mon, 24 Mar 2025 16:21:13 +0700 Subject: [PATCH] upload dev env --- auto-bid-admin/.env.dev | 2 ++ auto-bid-server/.env.dev | 30 ++++++++++++++++++++++++++++++ auto-bid-tool/.env.dev | 3 +++ auto-bid-tool/.gitignore | 3 --- 4 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 auto-bid-admin/.env.dev create mode 100644 auto-bid-server/.env.dev create mode 100644 auto-bid-tool/.env.dev diff --git a/auto-bid-admin/.env.dev b/auto-bid-admin/.env.dev new file mode 100644 index 0000000..b4a0abd --- /dev/null +++ b/auto-bid-admin/.env.dev @@ -0,0 +1,2 @@ +VITE_BASE_URL = 'http://localhost:4000/api/v1/admin/' +VITE_SOCKET_URL = 'http://localhost:4000' \ No newline at end of file diff --git a/auto-bid-server/.env.dev b/auto-bid-server/.env.dev new file mode 100644 index 0000000..3575351 --- /dev/null +++ b/auto-bid-server/.env.dev @@ -0,0 +1,30 @@ +DB_HOST=127.0.0.1 +# DB_HOST=127.0.0.1 +DB_USERNAME=root +DB_PASSWORD=123 + +ENVIRONMENT='dev' + +DB_PORT=3306 +DB_NAME=auto-bids + +PORT = 4000 + + + +APP_PATH = 'http://localhost:4000' + +CORS = "http://localhost:5173, http://localhost:3000" + + +SECRET_KEY = "kgmwljwekqiq25232mdmsgnekwhlwekmglkwjqjwqw" + + +# DEV GROUP +TELEGRAM_BOT_TOKEN = "7963294152:AAE8b9AbsyLYzpeJbUMIcelVWlCBN5mLJ2o" +CHAT_ID = "-1002593407119" + +# Bid histories GROUP +# TELEGRAM_BOT_TOKEN = "7533631751:AAEfE7Ei015U1sSsYPSAYwbYXWFl5D7y_18" +# CHAT_ID = "-1002535794248" + diff --git a/auto-bid-tool/.env.dev b/auto-bid-tool/.env.dev new file mode 100644 index 0000000..430c5e8 --- /dev/null +++ b/auto-bid-tool/.env.dev @@ -0,0 +1,3 @@ +ENVIRONMENT = 'prod' +SOCKET_URL = 'http://localhost:4000' +BASE_URL = 'http://localhost:4000/api/v1/' \ No newline at end of file diff --git a/auto-bid-tool/.gitignore b/auto-bid-tool/.gitignore index 1b9e5a5..92344c3 100644 --- a/auto-bid-tool/.gitignore +++ b/auto-bid-tool/.gitignore @@ -40,9 +40,6 @@ lerna-debug.log* # dotenv environment variable files .env -.env.development.local -.env.test.local -.env.production.local .env.local # temp directory