-
-
20210122(금)- 2021. 1. 22. 23:10
sequelize seeder 와 migration 의 차이 : 시더는 샘플데이터로 쓸수잇는거고 마이그레이션은 스키마 구조변경사항기록용? { 'Content-Type': 'application/json', withCredentials: true } 쿠키보낼때 랑 cors 요청 할때 with credential ok?? .catch((err) => alert(err)); axios .post( "https://localhost:4000/users/login", { userId: this.state.username, password: this.state.password, }, { headers: { "Content-Type": "application/json", withCredentials: true, },..
-
20210116(토)- 2021. 1. 17. 09:46
sql : structure query language database : inmemory or file is difficult to grow in size so we use database through sql schema : what we needs column andt that condition for each column(blueprint of the database) dotenv : dotenv.config(); then we can use process.env.DATABASE_USERNAME(make .env file and variable) bodyparser : velog.io/@yejinh/express-%EB%AF%B8%EB%93%A4%EC%9B%A8%EC%96%B4-bodyParser..