diff --git a/.env b/.env index e69de29..56d681d 100644 --- a/.env +++ b/.env @@ -0,0 +1,10 @@ +# Server port +PORT=3000 + +# MariaDB connection +DB_CLIENT=mysql +DB_HOST=localhost +DB_PORT=3306 +DB_USER=your_db_user +DB_PASSWORD=your_db_password +DB_NAME=warehouse_heatmap \ No newline at end of file diff --git a/package.json b/package.json index 6b2faf7..35b3037 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "express": "^4.18.2", - "sqlite3": "^5.1.6", + "mysql2": "^3.2.0", + "knex": "^2.4.2", "body-parser": "^1.20.2" } - } - \ No newline at end of file + } \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..bc341ab Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/heatmap.html b/public/heatmap.html index a4ef415..c2d9e75 100644 --- a/public/heatmap.html +++ b/public/heatmap.html @@ -3,24 +3,26 @@
+ -