From a4a25a6f8355153a9f30c85ab8e03321c8a5db00 Mon Sep 17 00:00:00 2001 From: Naveen Date: Thu, 14 Nov 2024 06:58:48 +0530 Subject: [PATCH 1/5] chore: add jwt env example --- ENVEXAMPLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ENVEXAMPLE b/ENVEXAMPLE index d17b1fc5d..4dc30b973 100644 --- a/ENVEXAMPLE +++ b/ENVEXAMPLE @@ -1,6 +1,6 @@ # App Setup NODE_ENV=production # Set to 'development' or 'production' as required -JWT_SECRET=your_jwt_secret_key # Replace with a secure JWT secret key +JWT_SECRET=a9Z$kLq7^f03GzNw!bP9dH4xV6sT2yXl3O8vR@uYq3 # Replace with a secure JWT secret key DB_NAME=maxun # Your PostgreSQL database name DB_USER=postgres # PostgreSQL username DB_PASSWORD=postgres # PostgreSQL password From e586ec54b758705e4def6a4625f0cc36cd1a8be5 Mon Sep 17 00:00:00 2001 From: Naveen Date: Thu, 14 Nov 2024 06:59:27 +0530 Subject: [PATCH 2/5] chore: example env value for encryption key --- ENVEXAMPLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ENVEXAMPLE b/ENVEXAMPLE index 4dc30b973..a387785f6 100644 --- a/ENVEXAMPLE +++ b/ENVEXAMPLE @@ -6,7 +6,7 @@ DB_USER=postgres # PostgreSQL username DB_PASSWORD=postgres # PostgreSQL password DB_HOST=postgres # Host for PostgreSQL in Docker DB_PORT=5432 # Port for PostgreSQL (default: 5432) -ENCRYPTION_KEY=your_encryption_key # Key for encrypting sensitive data (passwords and proxies) +ENCRYPTION_KEY=f4d5e6a7b8c9d0e1f23456789abcdef01234567890abcdef123456789abcdef0 # Key for encrypting sensitive data (passwords and proxies) MINIO_ENDPOINT=minio # MinIO endpoint in Docker MINIO_PORT=9000 # Port for MinIO (default: 9000) MINIO_ACCESS_KEY=minio_access_key # MinIO access key From 6b16d4a0230869c87712c70ae7825fc752678fc4 Mon Sep 17 00:00:00 2001 From: Naveen Date: Thu, 14 Nov 2024 07:06:19 +0530 Subject: [PATCH 3/5] chore: add default values --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 602cb05ca..799484122 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ You can access the frontend at http://localhost:5173/ and backend at http://loca | Variable | Mandatory | Description | If Not Set | |-----------------------|-----------|----------------------------------------------------------------------------------------------|--------------------------------------------------------------| -| `BACKEND_URL` | Yes | URL to run backend on. | Backend won't start. If not sure, set to http://localhost:8080 | -| `VITE_BACKEND_URL` | Yes | URL to run backend on. | Backend won't start. If not sure, set to http://localhost:8080 | +| `BACKEND_URL` | Yes | URL to run backend on. | Default value: http://localhost:8080 | +| `VITE_BACKEND_URL` | Yes | URL to run backend on. | Default value: http://localhost:8080 | | `JWT_SECRET` | Yes | Secret key used to sign and verify JSON Web Tokens (JWTs) for authentication. | JWT authentication will not work. | | `DB_NAME` | Yes | Name of the Postgres database to connect to. | Database connection will fail. | | `DB_USER` | Yes | Username for Postgres database authentication. | Database connection will fail. | From 1bf716d800f64b250609f428357c0a1c39b5cc18 Mon Sep 17 00:00:00 2001 From: Naveen Date: Thu, 14 Nov 2024 07:06:59 +0530 Subject: [PATCH 4/5] chore: frontend backend connection url --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 799484122..4b59ad226 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ You can access the frontend at http://localhost:5173/ and backend at http://loca | Variable | Mandatory | Description | If Not Set | |-----------------------|-----------|----------------------------------------------------------------------------------------------|--------------------------------------------------------------| -| `BACKEND_URL` | Yes | URL to run backend on. | Default value: http://localhost:8080 | -| `VITE_BACKEND_URL` | Yes | URL to run backend on. | Default value: http://localhost:8080 | +| `BACKEND_URL` | Yes | URL to run backend on. | Default value: http://localhost:8080 | +| `VITE_BACKEND_URL` | Yes | URL used by frontend to connect to backend | Default value: http://localhost:8080 | | `JWT_SECRET` | Yes | Secret key used to sign and verify JSON Web Tokens (JWTs) for authentication. | JWT authentication will not work. | | `DB_NAME` | Yes | Name of the Postgres database to connect to. | Database connection will fail. | | `DB_USER` | Yes | Username for Postgres database authentication. | Database connection will fail. | From fa7f5e3748ce5e53498e8b89995eb0d5ad6bbea2 Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Thu, 14 Nov 2024 07:32:43 +0530 Subject: [PATCH 5/5] chore: add gh trending icon --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4b59ad226..e072af784 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ Maxun lets you train a robot in 2 minutes and scrape the web on auto-pilot. Web Twitter | Join Maxun Cloud | Watch Tutorials +
+
+getmaxun%2Fmaxun | Trendshift

![maxun_demo](https://github.com/user-attachments/assets/a61ba670-e56a-4ae1-9681-0b4bd6ba9cdc)