Тёмный

How to WRITE, READ, UPDATE and DELETE data with Firebase database using JavaScript 

Melvin Adekanye
Подписаться 4,7 тыс.
Просмотров 45 тыс.
50% 1

How to WRITE, READ, UPDATE and DELETE data with Firebase database using JavaScript using JavaScript. Hey guys and gurls. I'll be showing you how to save and get data from Firebase database. Not only so. You'll be gifted with knowledge on how to update and delete data in the database. (LOL)
It's super easy. Sit back and relax.
Firebase: firebase.googl...
Source Code: rhymbil.netlif...
Patreon: / rhymbil
Until Next Time
RhymBil Out

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@reedgraff2465
@reedgraff2465 3 года назад
You deserve so much more love from the YT algorithm... Thank you. Lifesaver.
@MelvinAdekanye
@MelvinAdekanye 3 года назад
Glad it helped! You're most welcome.
@davigibson3356
@davigibson3356 Месяц назад
3 years old and still saving lives like mine right now 😅. Excellent video man, congrats
@gaganpreetsinghsidhu
@gaganpreetsinghsidhu 3 года назад
sir, i had done exactly same coding but everytime its showing 'saved' notification, instead of update or delete & delete function isn't working it just updates that particular user for ex:'test' leaving other columns empty except 'username' column.
@MelvinAdekanye
@MelvinAdekanye 3 года назад
No worries. The reason is....... I changed the buttons onclick event to call the other functions. But you don't see it, because I edited it out of the video. To put it simply, create more buttons to call the other functions. Or, change the onclick event of that one button to test it out. (Which is what I did) Thanks for asking. Others may have the same question. Hope this helps !
@MoviesPlaza
@MoviesPlaza 2 года назад
sir can you make an admin panel which list all our user, we can add new user, edit user, delete, and update too...
@MelvinAdekanye
@MelvinAdekanye 2 года назад
Yes you definitely can.
@nixxxxx_01
@nixxxxx_01 4 месяца назад
i copied all your process but the data and alert is not reflecting
@thegamercm796
@thegamercm796 3 месяца назад
Try opening the file in live server or in any other localhost
@gilluisfrancisco6311
@gilluisfrancisco6311 5 месяцев назад
What's the name of song in background?
@catsNcode
@catsNcode Год назад
you deserve a million subscribers for how simple you made this. Got it down in 9 mins that i couldn't with hours reading Google's documentation. For some reason the onclick kept saying it wasn't defined so i used event listener on the element as a workaround. document.querySelector('#submit').addEventListener('click', () => { let name = document.getElementById('name').value; let email = document.getElementById('email').value; let username = document.getElementById('username').value; firebase.database().ref('user-info/' + username).set({ name: name, username: username, email: email }) })
@MelvinAdekanye
@MelvinAdekanye Год назад
Thanks! And thanks for the tip - maybe others could benefit.
@gamerdrexx9282
@gamerdrexx9282 4 месяца назад
Heyy melvin, I started watching your videos and they're great. I wanna ask tho, I have this website that has a form and the form uses firebase. Is there to build a page that views all those to fill the form
@MelvinAdekanye
@MelvinAdekanye 3 месяца назад
This sounds interesting - could you rephrase the question in a simpler way?
@gamerdrexx9282
@gamerdrexx9282 3 месяца назад
Alright. So I have this online store I'm building for a client and I am using firebase to build this project's database. So when a user wants to checkout a cart, their username, the ordered items as well as logistics data is sent to Firebase. So when the client wants to view orders I want to build a web page that she can go to and all the orders in the firebase node will be displayed to her
@jaredjeiodelapaz7774
@jaredjeiodelapaz7774 9 месяцев назад
why is my sdk snippet not appearing.
@RedWax.
@RedWax. 2 года назад
it doesn't save the data in the database (but it saying saved) can you help me please
@MelvinAdekanye
@MelvinAdekanye 2 года назад
Two questions? Is your Firebase Database rules set to true? Are here any alerts or errors in your console?
@RedWax.
@RedWax. 2 года назад
@@MelvinAdekanye Sry its solved it was because my database was not in the US region 😅
@nadaahmed5987
@nadaahmed5987 5 месяцев назад
I'm so cofused the form doesn't submit anything, I have firebase installed and everything ready, there's even no alert
@nixxxxx_01
@nixxxxx_01 4 месяца назад
same, have u solved the problem?
@MelvinAdekanye
@MelvinAdekanye 3 месяца назад
Let's chat - shoot me an email.
@MaxProgramming
@MaxProgramming 3 года назад
Nice way to pass time at 0:50 😂
@MelvinAdekanye
@MelvinAdekanye 3 года назад
Hahaha. For sure.
@olivierboulanger1118
@olivierboulanger1118 3 года назад
Hello thx for your video. Does it work with version 9 of firebase ?
@MelvinAdekanye
@MelvinAdekanye 3 года назад
That's awesome. Yes absolutely.
@kobepwe2513
@kobepwe2513 3 года назад
Can this work to signup and login form? thanks in advance
@MelvinAdekanye
@MelvinAdekanye 3 года назад
Yes, absolutely
@jithinkumar5456
@jithinkumar5456 3 года назад
How can u print all the data in a single alert?
@MelvinAdekanye
@MelvinAdekanye 3 года назад
In the get function. You would simply alert(data). Where the data is equal to snapshot.val()
@hackingfoundation2899
@hackingfoundation2899 3 года назад
Epic like always man
@MelvinAdekanye
@MelvinAdekanye 3 года назад
You know it. Glad the video helped.
@ayaka905
@ayaka905 4 дня назад
u saved me dude
@psviraljain
@psviraljain Год назад
Thanks man, appreciate it!
@sandeshkumatgi3851
@sandeshkumatgi3851 10 месяцев назад
chup bc
@peschebichsu
@peschebichsu 3 года назад
Great tutorial!
@MelvinAdekanye
@MelvinAdekanye 3 года назад
Thank you!
@ryujiiin22
@ryujiiin22 Год назад
thank you! you save me sir thank you very much
@MelvinAdekanye
@MelvinAdekanye Год назад
No problem. Glad I could help!
@honzosaurus42069-no_furry
@honzosaurus42069-no_furry Год назад
My only question is why is it not working in 2023
@MelvinAdekanye
@MelvinAdekanye Год назад
Let's work through it together - are you getting any errors in your console?
@honzosaurus42069-no_furry
@honzosaurus42069-no_furry Год назад
@@MelvinAdekanyeWell I think It's just the version of firebase; this video is rly old. But I'm good thx. No need 4 help 👍
@Alaaja_aj
@Alaaja_aj Год назад
yo dude you are the best.
@MelvinAdekanye
@MelvinAdekanye Год назад
You're the best!! Thanks bro 🔥
@gireen
@gireen 3 года назад
thank you! you save me ㅠㅠ
@rufatabbasov
@rufatabbasov Год назад
Thank you!
@MelvinAdekanye
@MelvinAdekanye Год назад
Glad to hear it!
@masterlook5
@masterlook5 3 года назад
much appreciated! :)
@MelvinAdekanye
@MelvinAdekanye 3 года назад
Any time!
@masterlook5
@masterlook5 3 года назад
@@MelvinAdekanye your new website is not as good as the old ones. the source code is very small and segmented, which makes it harder to view and understand.
@MelvinAdekanye
@MelvinAdekanye 3 года назад
@@masterlook5 You're my very first critic. Thanks for the feedback. I'm definitely going to work on a system to expand the "viewport". Thanks again. Let me know what you think of the changes I make in a couple days.
@envplayz
@envplayz 3 года назад
Awesome Video Keep it up :)
@MelvinAdekanye
@MelvinAdekanye 3 года назад
Thanks, will do!
@envplayz
@envplayz 3 года назад
@@MelvinAdekanye wlc :D
@AlexanderWilhite
@AlexanderWilhite Год назад
• never trust a nerd to explain simple shit online
Далее
Сколько стоят роды мечты?
00:59
Просмотров 781 тыс.
Connecting Firebase to a HTML Form | Firebase Tutorial
22:56
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
Most overpowered way to build mobile apps?
8:33
Просмотров 793 тыс.
Firebase - Back to the Basics
25:23
Просмотров 590 тыс.