MVC 패턴(Model–View–Controller)MVC는 프로그램을 Model, View, Controller 세 역할로 나눠서 화면 로직과 비즈니스 로직을 분리하는 구조.유지보수성과 확장성을 높이기 위해 사용.MVC 구성 요소1) Model데이터와 비즈니스 로직 담당DB 접근, 상태 관리, 규칙 처리 등 핵심 로직 포함View와 직접 연결되지 않음// playlistModel.jsclass PlaylistModel { async getSongs(userId) { return db.query("SELECT * FROM Songs WHERE userId = ?", [userId]); } async addSong(userId, song) { return db.insert("Songs", ..