NODE Flashcards
1
Q
how does it work ??
A
const mysql = require(“mysql2/promise”);
const pool = mysql.createPool({
host: “localhost”,
user: “root”,
database: “companydb”,
});
2
Q
how to start ??
A
npm init -y
3
Q
how to run ??
A
npm run dev
4
Q
postgreSQL
A
sequelize