How to Add a Database to an Electron Desktop App using React and Firebase

  Рет қаралды 783

Code Tega

Code Tega

Күн бұрын

Пікірлер: 15
@dilmidilshara9359
@dilmidilshara9359 Ай бұрын
Super easy to understand... Thank you, brother ❤🎉. Could you explain how to convert this project to an exe file?🙏
@CodeTega
@CodeTega Ай бұрын
Sure thing l! That’s coming up. I appreciate the feedback and support!
@aaditya_ai
@aaditya_ai Ай бұрын
Nice tutorial! Can you please do one tutorial with supabase aswell 😅 adding auth/oauth
@CodeTega
@CodeTega Ай бұрын
Will do! Gonna put that up to the top on my priority list
@intoellesmind2619
@intoellesmind2619 Ай бұрын
Thank you so so much. I needed this like I need water, lol. Quick question, though: is there a way to connect it to mysql instead of using a serverless?
@CodeTega
@CodeTega Ай бұрын
There is, I’m putting a video together on Monday that goes over just that! I appreciate the feedback. I’ll keep you posted when I get that one on here.
@intoellesmind2619
@intoellesmind2619 Ай бұрын
@@CodeTega Yay! Thank you so much!
@nubcops220
@nubcops220 Ай бұрын
Hello again I don't really write KZfaq comments but since you reply (which is very sweet of you) I will be writing this because I think you are now my favorite programming KZfaqr.I am trying to implement mysql with electron/react/tailwind but there is no tutorial so I am trying to use blackbox ai and I have spent about a day and a half but I get stuck on Polyfills. Is there a documentation you would suggest or something because I really feel like a lost kid without a dad and I am trying to help myself but I am really really really struggling
@CodeTega
@CodeTega Ай бұрын
Thank you! I appreciate that very much! Means a lot. This week has been a little crazy for me, but I’ve been putting together a tutorial on this exact thing along with the routing. But until that video is finished and out here are a few ways to do it. 1. If your application will have access to the internet then I’d recommend setting up an express.js server and connecting that to your MySQL db. Then you can use that as an api server to make database calls. This is the simplest solution. 2. If you want to maintain the app for your users in a local environment that doesn’t need internet, but needs a sql styled database, then I would recommend an SQLite solution with RxDB. rxdb.info/electron-database.html But you may run into some walls on the polyfills. I’ll be going over both solutions in the next video. But those would be my two top recommendations. If your app isn’t going to store more a ton and it doesn’t need to be persistent across devices then you can always use the local storage, but I would only use that if the data can be wiped without much consequence. I’ll do my best to put out all the solutions for this here soon, apologies for the delay just been traveling this week.
@CodeTega
@CodeTega Ай бұрын
Also, there is a setting you need to have in the forge.config file in order to connect to a database. I go over that in the firebase electron tutorial. It’s just one line of code.
@hellelo.5840
@hellelo.5840 Ай бұрын
Webpack!!!!!!
@swapnilpatel3337
@swapnilpatel3337 Ай бұрын
What font and themes are you used in your vs code ?
@CodeTega
@CodeTega Ай бұрын
Shades of Purple. It’s a great theme
@noddymedia
@noddymedia 9 күн бұрын
Hello is it possible to run electronjs and nodejs server together, if yes can you share a resource I can get the instruction on how to intergarde the two and run them together in one command
@umutalliozsari
@umutalliozsari Ай бұрын
I can't add script link
10 React Antipatterns to Avoid - Code This, Not That!
8:55
Fireship
Рет қаралды 739 М.
Работа с файлами в Electron JS
15:33
Ateros
Рет қаралды 2,8 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 11 МЛН
what will you choose? #tiktok
00:14
Анастасия Тарасова
Рет қаралды 7 МЛН
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 44 М.
Microservices with Kafka: ECommerce Example (.NET 8)
34:51
Dose Hieu
Рет қаралды 2 М.
Flutter Tips to 10x Your Speed
8:04
Flutter Mapp
Рет қаралды 14 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 152 М.
How to create a basic Electron app with Vite and React
12:57
Ehren Grenlund
Рет қаралды 69 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 214 М.
Wait... PostgreSQL can do WHAT?
20:33
The Art Of The Terminal
Рет қаралды 194 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 564 М.
В ЧЕМ СЕКРЕТ ЗВУКОВ APPLE? | РАЗБОР
21:05
iPhone 15 Plus на Изгибе
0:59
Sergey Delaisy
Рет қаралды 236 М.