Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть 04 - Serialization of a User Object - Advanced Node and Express - freeCodeCamp

  • Ganesh H
  • 2020-08-01
  • 3609
04 - Serialization of a User Object -  Advanced Node and Express - freeCodeCamp
freecodecampfreeCodeCampjavascriptjavascriptprogrammingdevelopmenttutorialwalkthroughprogrammerwebdatajavascript 2020nodenpmpackage.jsondependencyglitchprojectAPIcallbackhtmlqualityassuranceadvancedexpresspassportpugauthenticationchatsocketapploginlogoutuserpasswordregistrationsigninouttemplaterenderdatabasemongodbstoragepassport tutorialpassport nodeemailcourseguideserializeUser()deserializeUser()findOne()serializationdeserialization
  • ok logo

Скачать 04 - Serialization of a User Object - Advanced Node and Express - freeCodeCamp бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно 04 - Serialization of a User Object - Advanced Node and Express - freeCodeCamp или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку 04 - Serialization of a User Object - Advanced Node and Express - freeCodeCamp бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео 04 - Serialization of a User Object - Advanced Node and Express - freeCodeCamp

Serializaton and Deserialization allow us to reduce our User objects into a small piece of information which we can efficiently store into a cookie.

Link to Challenge : https://www.freecodecamp.org/learn/qu...
Written Guide: https://www.notion.so/ganeshh123/Seri...

Full Playlist for this course :    • Advanced Node and Express - freeCodeCamp  
All Writen Guides for this course : https://www.notion.so/ganeshh123/ccf6...
All My Tutorials can be found at : https://www.notion.so/Tutorials-Ganes...

00:00 - Introduction
00:30 - MongoDB Installation
01:10 - Serialize Function - passport.serializeUser()
Passport will call this to serialize the user to the session whenever you login a user with req.login(), or whenever a user is authenticated via passport.authenticate(). The function you pass in should call done(null, serializedUser). What this is going to do is set req.session.passport.user = serializedUser.
https://github.com/jwalton/passport-a...
04:06 - Deserialize Function - passport.deserializeUser()
Passport will call this to deserialize the user from the session. Should call done(null, user). The serializedUser is req.session.passport.user.
https://github.com/jwalton/passport-a...
05:05 - Getting the User Document from the database - db.collection.findOne()
Returns one document that satisfies the specified query criteria on the collection or view. If multiple documents satisfy the query, this method returns the first document according to the natural order which reflects the order of documents on the disk.
https://docs.mongodb.com/manual/refer...
09:02 - Challenge Solution

————————————————————————————————————
Node.js is an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser.

Express.js, or simply Express, is a web application framework for Node.js. It is designed for building web applications and APIs. It has been called the de facto standard server framework for Node.js. Express runs between the server created by Node.js and the frontend pages of a web application. Express also handles an application's routing.

freeCodeCamp (also referred to as “Free Code Camp”) is a non-profit organization that consists of an interactive learning web platform, an online community forum, chat rooms, online publications and local organizations that intend to make learning web development accessible to anyone. Beginning with tutorials that introduce students to HTML, CSS and JavaScript, students progress to project assignments that they complete either alone or in pairs. Upon completion of all project tasks, students are partnered with other nonprofits to build web applications, giving the students practical development experience.

freeCodeCamp (also referred to as “Free Code Camp”) is a non-profit organization that consists of an interactive learning web platform, an online community forum, chat rooms, online publications and local organizations that intend to make learning web development accessible to anyone. Beginning with tutorials that introduce students to HTML, CSS and JavaScript, students progress to project assignments that they complete either alone or in pairs. Upon completion of all project tasks, students are partnered with other nonprofits to build web applications, giving the students practical development experience.

Thanks for Watching!

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]