#67 MVC Architecture in NODE JS | Using MongoDB with Express| A Complete NODE JS Course
Mô tả
In this lecture, let's learn what is MVC architecture and how it works? And let's also refactor our NODE JS application code to implement this MVC architecture.
Danh sách bài giảng (1 bài)
Bài 1: #67 MVC Architecture in NODE JS | Using MongoDB with Express| A Complete NODE JS Course
Video bài giảngBài kiểm tra Quizzes (1)
Chưa mở khóaBài kiểm tra kiến thức: #67 MVC Architecture in NODE JS | Using MongoDB with Express| A Complete NODE JS Course
Bài kiểm tra tổng hợp 5 câu hỏi trắc nghiệm giúp củng cố kiến thức trọng tâm trong khóa học #67 MVC Architecture in NODE JS | Using MongoDB with Express| A Complete NODE JS Course.
Bài kiểm tra đang bị khóa
Vui lòng đăng ký khóa học để mở khóa toàn bộ 1 bài kiểm tra trắc nghiệm và xem kết quả làm bài.
Đánh giá từ học viên
Nhận xét và trải nghiệm thực tế từ các học viên đã đăng ký tham gia khóa học này.
Dựa trên 9 lượt đánh giá từ học viên
Đăng nhập để đánh giá khóa học
Bạn cần đăng nhập và tham gia khóa học để có thể gửi đánh giá và nhận xét.
Tất cả đánh giá 9
Good tutorial on NodeJS and MongoDB you have here. God bless your contribution. Is there Github clone for this NodeJS MongoDB video classes? It will better help student t learn faster rather than typing one after the other while the video plays on.
hello sir can you please tell me in which video's description you have inserted the code for curd operations I have written code for post req data is inserted in json file but it is not showing any response in postman
const createMovie=(req,res)=>{
const newId=movies[movies.length - 1].id + 1;
const newMovie=Object.assign({id:newId},req.body);
movies.push(newMovie);
//201 we added new movie
fs.writeFileSync('./data/movies.json',JSON.stringify(movies),(err)=>{
console.log(err);
res.status(201).json({
status:"sucescc",
data:{
movies:newMovie
}
})
})
}
app.post('/api/v1/movies',createMovie);