Node.js/node sequelize
2020. 8. 22.
node mysql sequelize(1) mysql 연동및 테이블 생성하기
npm init npm i express sequelize sequelize-cli mysql2 morgan npm i -D nodemon npx sequelize init config/config.json { "development": { "username": "root", "password": "root", "database": "sequelize", "host": "127.0.0.1", "dialect": "mysql" }, "test": { "username": "root", "password": null, "database": "database_test", "host": "127.0.0.1", "dialect": "mysql" }, "production": { "username": "root",..