전체 글 (127) 썸네일형 리스트형 [Node.js] mac에서 MySQL 설치 (access denied for user 'root'@'localhost' using password: yes) https://brew.sh/index_ko Homebrew The Missing Package Manager for macOS (or Linux). brew.sh 터미널에 입력하여 설치 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 설치가 다 되면 mysql 설치 brew install mysql 설치된 항목 확인 brew list mysql도 서버 켜야한다 mysql.server start 설치 후, 사용자 계정 만들기 mysql_secure_installation access denied for user 'root'@'localhost' using password: yes 에.. [Node.js] html, css 화면에 표시 app.js에 추가 const ejs = require("ejs"); //html, css 같은것 보여줄때 app.set('view engine', ejs); //view engine은 ejs를 사용한다 app.set('views', './views'); app.use('/public', express.static(__dirname + '/public')); const express = require('express'); const helmet = require("helmet"); const app = express(); const ejs = require("ejs"); //html, css 같은것 보여줄때 app.set('view engine', ejs); //view engine은 ejs를 사용한다 .. [Node.js] post 방식으로 값 확인 postman 설치 router.post("/postapi", function(req, res) { res.send('post api') }) http://localhost:3000/postapi 진입 시, error라고 표시된다. https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop Postman POSTMAN CHROME IS DEPRECATED DOWNLOAD THE UPDATED POSTMAN NATIVE APPS Postman Chrome is deprecated and is missing essential, new… chrome.google.com postman 에서 post, http://localhost:3000/p.. 이전 1 ··· 3 4 5 6 7 8 9 ··· 43 다음