API's: employee onboarding, authentication through JWT

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Sven laptop
2026-05-05 01:23:03 +02:00
parent 9d29ec49d4
commit 39278dc857
12 changed files with 2576 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const { pool } = require('pg');
const { Pool } = require('pg');
require('dotenv').config();
const pool = new Pool({
host: process.env.PG_HOST,
+1
View File
@@ -11,6 +11,7 @@
"type": "commonjs",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {