React store images urls into MongoDB after uploading them into Firebase with Nodejs and Expressjs

preview_player
Показать описание
This is the 10th part of React Renting Rooms MERN Project. In this video we built the room model for MongoDB and creating room controller in the server side. And in client side we managed the showing and not showing the submit button depending on completing the whole steps. And we created an action to send the request to save the information of the room into the database. We built also a protected component to show adding room page only for authenticated users.
Reactjs
MongoDB
Nodejs
Expressjs
Firebase storage
Mongoose
Material UI5 (MUI5)
Global Context Provider
Higher-order components

The whole videos playlist of the project:

Source Code on github:

To Avoid Misspelling I recommend this VSCode extension:
Code Spell Checker

00:00 introduction
01:39 Creating MongoDB Model for the room
05:22 Creating controller to save the new room information
08:47 Handling the show state of the submit button
13:06 Sending the room creation request to the server
20:34 Reseting the global context state of the created new room to the default values
26:00 Preventing unauthenticated or anonymous users from accessing adding room page (Protected Component with access message to login).
31:37 Introduction to the upcoming video
Рекомендации по теме
Комментарии
Автор

Good vidéo !!
Before the content of protected pages is displayed, I have a small delay of about 1 second during which the access message is displayed.
Need help !

abdoulfatahoudabre
Автор

Good video 👍
When could you upload the next video?

alibarangunduz
Автор

Would be more helpful if you upgrade this project to RTK Query, Thanks

syednoohu
Автор

Hello bro, if we want to upload the file upload process to mongo, not firebase, how should we proceed? No matter what I tried. Can you help me? Thank you.

muhammedemintura
Автор

suddenly the mapbox didnt render, a few minutes ago it's just fine
do u know why ?

Error: Map is not supported by this browser
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'flyTo')
at AddLocation.js:28:1

lalagisaa
welcome to shbcf.ru