diff --git a/.DS_Store b/.DS_Store index c2205c52..024520a4 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.ebextensions/certs.config b/.ebextensions/certs.config new file mode 100644 index 00000000..1e43c330 --- /dev/null +++ b/.ebextensions/certs.config @@ -0,0 +1,11 @@ +commands: + 01_create_certs_dir: + command: "mkdir -p /usr/src/app/server/certs" + + 02_download_ca: + command: "aws s3 cp s3://dbspy-secure-certs/ca.pem /usr/src/app/server/certs/ca.pem" + +files: + "/etc/profile.d/awscli.sh": + content: | + export PATH=$PATH:/usr/local/bin \ No newline at end of file diff --git a/.ebextensions/react-router.config b/.ebextensions/react-router.config new file mode 100644 index 00000000..da65e83d --- /dev/null +++ b/.ebextensions/react-router.config @@ -0,0 +1,9 @@ +files: + "/etc/nginx/conf.d/react-router.conf": + mode: "000644" + owner: root + group: root + content: | + location / { + try_files $uri $uri/ /index.html; + } \ No newline at end of file diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ec522340..712ddba1 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -26,7 +26,8 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build --if-present - - name: Start server + - name: Start server (only if secrets are available) + if: ${{ env.USER_DB_USER != '' }} env: USER_DB_USER: ${{secrets.USER_DB_USER}} USER_DB_PW: ${{secrets.USER_DB_PW}} @@ -34,7 +35,8 @@ jobs: SSL_KEY: ${{secrets.SSL_KEY}} SSL_CERT: ${{secrets.SSL_CERT}} run: npm run start:test - - name: Run test suites + - name: Run test suites (only if secrets are available) + if: ${{ env.MYSQL_TEST_URL != '' || env.PG_TEST_URL != '' }} env: MYSQL_TEST_URL: ${{secrets.MYSQL_TEST_URL}} MYSQL_TEST_USERNAME: ${{secrets.MYSQL_TEST_USERNAME}} diff --git a/.gitignore b/.gitignore index 509a676c..087e0d83 100755 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,6 @@ temp/ .cert/ ca.crt/ ca.key/ -coverage/ \ No newline at end of file +coverage/ +certs/ +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index 635d582b..d11a90c8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@
An open-source data modeling tool to facilitate relational database development
-### New Features with Version 7.0 +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12. **Live Querying and Save Queries** Test SQL queries and also save them to track and analyze query performance across data models (dbSpy V8.0)
+
+##
+
+##
+
+##
-### Getting started
+### 🛠 Getting started
You will need your own MySQL database for backend functions.
@@ -129,7 +186,7 @@ $ npm run dev
To connect with the SQL database, we must create and configure SSL certificates.
-### Mac
+### macOS
1. Install mkcert; you can learn more about mkcert [here](https://github.com/FiloSottile/mkcert)
@@ -140,7 +197,7 @@ npm install -g mkcert
2. Run the following script
```bash
-npm run cert
+npm run cert:mac
```
### Linux
@@ -205,7 +262,7 @@ npm run cert:linux
2. Click on the confirm icon to delete the column.
3. Click on the cancel icon to cancel the deletion.
-##
+##
### Adding a foreign key reference to a column
@@ -248,6 +305,11 @@ npm run cert:linux
### Credits/Contributors
+- Yihe Liu • [LinkedIn](https://www.linkedin.com/in/yiheliu) • [Github](https://github.com/SparrowGecko)
+- Emma Vargas • [LinkedIn](https://www.linkedin.com/in/emmavargas/) • [Github](https://github.com/emma-vargas)
+- Vicky Yue • [LinkedIn](https://www.linkedin.com/in/vickyue/) • [Github](https://github.com/vyue013)
+- Roshumba Llewellyn • [LinkedIn](https://www.linkedin.com/in/roshumballewellyn/) • [Github](https://github.com/roshumba)
+- Revathy Venkataraman • [LinkedIn](https://www.linkedin.com/in/revavenk/) • [Github](https://github.com/reva2024)
- David Jones • [LinkedIn](http://www.linkedin.com/in/davidjonesswe/) • [Github](https://github.com/david-jones-git)
- John Ruiz • [LinkedIn](https://www.linkedin.com/in/john-ruiz-profile/) • [Github](https://github.com/johnruiz17)
- Minh Chang • [LinkedIn](https://www.linkedin.com/in/minh-chang/) • [Github](https://github.com/miha-cha)
diff --git a/images/dbspy8homepage.png b/images/dbspy8homepage.png
new file mode 100644
index 00000000..417ce4cf
Binary files /dev/null and b/images/dbspy8homepage.png differ
diff --git a/images/dbspyv8.gif b/images/dbspyv8.gif
new file mode 100644
index 00000000..004e4430
Binary files /dev/null and b/images/dbspyv8.gif differ
diff --git a/images/dpspy8savequery.png b/images/dpspy8savequery.png
new file mode 100644
index 00000000..100c35a8
Binary files /dev/null and b/images/dpspy8savequery.png differ
diff --git a/images/dpspy8testquery.png b/images/dpspy8testquery.png
new file mode 100644
index 00000000..8e56d26b
Binary files /dev/null and b/images/dpspy8testquery.png differ
diff --git a/index.html b/index.html
index 6b2142f6..bc5e86e0 100644
--- a/index.html
+++ b/index.html
@@ -27,12 +27,9 @@
-
+