NodeJs Project - Build a Notes App using Express, MongoDB & Passport
Mô tả
I built a time tracker for freelancer — free to try: https://timentrack.com/yt Today we are going to create a simple Notes taking Application using Nodejs, Express, MongoDB, and Passport. For templating, we will use EJS and Bootstrap. ☕ BuyMeACoffee: https://www.buymeacoffee.com/RaddyThe... Code: https://github.com/RaddyTheBrand/Note... Article: https://raddy.dev/blog/build-a-notes-...
Danh sách bài giảng (1 bài)
Bài 1: NodeJs Project - Build a Notes App using Express, MongoDB & Passport
Video bài giảngBài kiểm tra Quizzes (0)
Chưa mở khóaĐá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 10 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á 10
* UPDATE (available on GitHub + Blog)
Mongoose 7.0.0^ coming soon...
If you get the following error: "mongooseerror: model.findbyid() no longer accepts a callback" please follow:
In auth.js replace:
// Retrieve user data from session.
passport.deserializeUser(function (id, done) {
User.findById(id, function (err, user) {
done(err, user);
});
});
To:
passport.deserializeUser(async (id, done) => {
try {
const user = await User.findById(id);
done(null, user);
} catch (err) {
done(err, null);
}
});
In dashboardController.js replace the Get Dashboard Route with:
/**
* GET /
* Dashboard
*/
exports.dashboard = async (req, res) => {
let perPage = 12;
let page = req.query.page || 1;
const locals = {
title: "Dashboard",
description: "Free NodeJS Not
It's great to see more tutorials made with EJS instead of a front-end framework. It's helpful for people who haven't yet started learning React
Very underrated YouTuber. Definitely one of the best programming tutors out there! Keep it up, man! Learned a lot from this tutorial. Thank you so much 🙌
Finally I built and deployed this project on cyclic, thanks a lot for your step by step tutorial 🖤
2:34:54
Re: Delete warning pop-up
i was unable to properly implement the delete warning popup maybe because Bootstrap got updated
- Dashboard
-
View Note
Delete
hi ,raddy please create more video like ......this today i learn so much form your videos