NODE Flashcards

1
Q

how does it work ??

A

const mysql = require(“mysql2/promise”);
const pool = mysql.createPool({
host: “localhost”,
user: “root”,
database: “companydb”,
});

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how to start ??

A

npm init -y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how to run ??

A

npm run dev

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

postgreSQL

A

sequelize

How well did you know this?
1
Not at all
2
3
4
5
Perfectly