diff --git a/Speicher.txt b/Speicher.txt index ec5b614..07583d7 100644 --- a/Speicher.txt +++ b/Speicher.txt @@ -1,35 +1,23 @@ Set-ExecutionPolicy RemoteSigned -Scope CurrentUser http://phpmyadmin-ikockwc4sccc8oogoocswgow.100.100.54.2.sslip.io/ -agione.ddns.net:5432 +agione.v6.rocks:3210 root Jonas2007 +UM Tabelle zu erstellen +CREATE TABLE users ( + id INT AUTO_INCREMENT PRIMARY KEY, + username VARCHAR(255) NOT NULL UNIQUE, + email VARCHAR(255), + password VARCHAR(255) NOT NULL, + fullName VARCHAR(255), + createdAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP +); + /**@param {} x*/ -/**@typeof {} x*/ - - -https://codedamn.com/news/nodejs/use-json-web-token-jwt-in-nodejs - - -
- - -
-
-

Spieler 1

-

test

-
-
-

Spieler 2

-

test

-
-
-
\ No newline at end of file +/**@typeof {} x*/ \ No newline at end of file diff --git a/backend/src/Database/DataBaseManager.js b/backend/src/Database/DataBaseManager.js index 5ea19a0..1af0763 100644 --- a/backend/src/Database/DataBaseManager.js +++ b/backend/src/Database/DataBaseManager.js @@ -5,7 +5,7 @@ class DataBaseManager { constructor(host, database) { this.connection = mySql.createConnection({ host: host, - port: 5432, + port: 3210, user: "root", password: "Jonas2007", database: database