React Native Tutorial #25 - SQLite Database - How to make an Offline Login with SQLite

  Рет қаралды 85,307

Programming with Mash

Programming with Mash

Күн бұрын

Пікірлер: 73
@mashschool
@mashschool 3 жыл бұрын
If you have any questions about this or request tutorials in this style, be sure to leave a comment below, and thank you for liking the video. 😉
@nakidm
@nakidm 3 жыл бұрын
Hey Mash nice video, im new on RN and im "old" programmer php html u think is better this? or use firebase/aws for RN apps ? :) thanks
@mashschool
@mashschool 3 жыл бұрын
@@nakidm It's my pleasure! Here SQLite is used for offline purpose. Firebase and AWS are definitely used for online purposes.
@saileklaj
@saileklaj 2 жыл бұрын
hello, how can i connect react-native with sqlserver, thanks
@swathyraja04swa24
@swathyraja04swa24 Жыл бұрын
hi, How do work search bar?
@sangsokea
@sangsokea 2 жыл бұрын
Your tutorial clearer than the course I bought on Udemy.
@mashschool
@mashschool 2 жыл бұрын
Great to hear!
@tom-vq1bj
@tom-vq1bj 2 жыл бұрын
It helped me a lot, congratulations on the class!
@geoffreyngugi6144
@geoffreyngugi6144 2 жыл бұрын
This is the best and my first tutorial that actually works. It made you just made sqlite super simple. I also have already checked tutorial #28 and #29. Local and remote notifications have never been that simple. Asante(thanks)
@mashschool
@mashschool 2 жыл бұрын
Glad it helped! You're welcome.
@voldemore6300
@voldemore6300 Жыл бұрын
Hi Mash, I do have a question, where would you put the "MainDB.db" file on ?? it seemed like you just created it from the empty file. Basically, when I use SQL on react.js we specify items such as localhost, username, password and database_name. but for sqlite they are not required ?? Im so confused TT
@MedlegNem
@MedlegNem 9 ай бұрын
Absolutely perfect tutorial. Thank You very much and good wishes for you.
@sanilkp6180
@sanilkp6180 2 жыл бұрын
Thank you very much!
@SangNguyen-ej1ef
@SangNguyen-ej1ef 2 жыл бұрын
Thanks God! Thanks to your video I solved some database bugs in my project.
@mashschool
@mashschool 2 жыл бұрын
You're welcome!
@blanf7559
@blanf7559 3 жыл бұрын
Thank you! Very good video!
@mashschool
@mashschool 3 жыл бұрын
Glad you liked it!
@karthiknandula8702
@karthiknandula8702 2 жыл бұрын
How did u connect the database to the SQLite browser? I want to view that DB on the SQLite browser...
@gastonecappuccio7864
@gastonecappuccio7864 Жыл бұрын
did you found a way to do that?
@aigirimedia
@aigirimedia 7 ай бұрын
very good
@joanneko3953
@joanneko3953 2 жыл бұрын
this is for react native cli right? what about expo? how do we integrate sqlite on expo?
@ericlol1337
@ericlol1337 2 жыл бұрын
thanmks maush
@aazamheidari4689
@aazamheidari4689 2 жыл бұрын
Your tutorial is great and clear, and how can I use cascading delete . I search a lot but, I can not find the right code
@purnamasrahayu6850
@purnamasrahayu6850 2 жыл бұрын
how to connect to database in device / emulator?
@asimnehal3953
@asimnehal3953 9 ай бұрын
very helpful....how to export my db file from my react native app..?
@mememonster2370
@mememonster2370 6 ай бұрын
why copy pasting db = opendatabase in each files?
@arikmosfor4907
@arikmosfor4907 3 жыл бұрын
wow!! great tutorial 🔝🔝
@mashschool
@mashschool 3 жыл бұрын
Thanks! 😃
@deepakkiriti5932
@deepakkiriti5932 2 жыл бұрын
hi mash great tutorial can you help me how to store the pedometer data coz there wont be any buttons to set update data
@Mrkhan-yz8to
@Mrkhan-yz8to 3 жыл бұрын
always the best tutorial ever
@mashschool
@mashschool 3 жыл бұрын
Glad you think so!
@weixiangng8279
@weixiangng8279 Ай бұрын
Mine has lots of errors like cannot open the database.
@80Vikram
@80Vikram 2 жыл бұрын
Thanks for this tutorial, can you please clarify if SQLite DB gets installed on emulator or your laptop ?
@santuclicks8169
@santuclicks8169 Жыл бұрын
How do you access db in Home page.
@bartdiako1
@bartdiako1 3 жыл бұрын
Hi Mash! Thanx for making these videos theay have realy halped me out withe school .A bigg high five to you bro. Could you makee a video about SecureStore?
@mashschool
@mashschool 3 жыл бұрын
You're welcome. Yes, I will explain it on an expo project.
@bartdiako1
@bartdiako1 3 жыл бұрын
@@mashschool And also Testig/jest in react native expo and cli?
@mashschool
@mashschool 3 жыл бұрын
@@bartdiako1 We will have it at the end of this series.
@abhijeetshikharvlog1444
@abhijeetshikharvlog1444 2 жыл бұрын
In emulator is working fine but when i test in mobile its not working.Please tell the solution
@bobbycheema5168
@bobbycheema5168 3 жыл бұрын
Can you show an example with date and time field
@darrellleong4780
@darrellleong4780 Жыл бұрын
This doesn't work with Expo?
@tienphanmemtinh8207
@tienphanmemtinh8207 5 ай бұрын
Can you share the code for this video ?
@codebase_dev
@codebase_dev Жыл бұрын
How to pre-populated database in react-native ?
@realtorBG
@realtorBG 3 жыл бұрын
if you do some series with netlify, context or firebase will be great Mash
@mashschool
@mashschool 3 жыл бұрын
That's a good idea! I will work on it.
@ahmedsiddique863
@ahmedsiddique863 Жыл бұрын
p.SQLite is undefined giving this error when creating the database
@muhammadsuleman9342
@muhammadsuleman9342 2 жыл бұрын
Awesome content but Not Satisfied with such time consuming things. If you are creating tutorial on specific topic you should write code from start for it. Why you are making it mandatory to watch your previous videos of navigation for proper understanding. not everyone here is expert and use same method. hope you get my point. your tutorial should be independent on the previous ones. if you want to add navigation in sqlite tutorial then kindly write it from start so that we can have better understanding. Thanks.
@thebeatifulnature3142
@thebeatifulnature3142 3 жыл бұрын
Please bro continue this series
@mashschool
@mashschool 3 жыл бұрын
You can find the continuation of the series in the playlist. We have a new session every week.
@akashwaghule
@akashwaghule 3 жыл бұрын
Hello Mash, big fan, could you help us with the setup process.
@mashschool
@mashschool 3 жыл бұрын
Hi, If you mean setting up a react native project, watch video # 3 and tell me if there is a problem.
@arjunpatidar4295
@arjunpatidar4295 2 жыл бұрын
Unable to open database getting this error "[Error: Could not open database]"
@วีนารัตน์แสวงกิจ
@วีนารัตน์แสวงกิจ 3 жыл бұрын
i have an error when npm install .................. npm ERR! Unexpected token d in JSON at position 0 while parsing near 'dEasing, // @ts-i...' How I can fix it.
@วีนารัตน์แสวงกิจ
@วีนารัตน์แสวงกิจ 3 жыл бұрын
it's already fix
@muhammadhamzaqadri1548
@muhammadhamzaqadri1548 3 жыл бұрын
This database is better to use for confidential things like password? Another thing is that it can be use alternative to local storage
@mashschool
@mashschool 3 жыл бұрын
Anyone can read the file of this database, so it's not suitable for many confidential cases. Instead of storing passwords, it's better to use token-based authentications. If you have a lot of data to store and need to fetch the information you need, then local databases like SQLite are the best local storage.
@movierockers3452
@movierockers3452 3 жыл бұрын
How we can export sqlite file using react native ? Is it possible to connect ms sql ?
@mashschool
@mashschool 3 жыл бұрын
You can use the createFromLocation option in the openDatabase method to save the database to your desired path and use its file. You can connect to ms sql remotely using the react-native-mssql module.
@michaeljameslao4599
@michaeljameslao4599 2 жыл бұрын
Any way to connect to an MSSQL server database?
@mashschool
@mashschool 2 жыл бұрын
It's not safe to connect directly to the MS SQL database. But you can do it by this module in Android. www.npmjs.com/package/react-native-mssql
@gustavojuantorena
@gustavojuantorena 3 жыл бұрын
👏👏
@pablo9658
@pablo9658 3 жыл бұрын
Hi, is it the same process for IOS?
@mashschool
@mashschool 3 жыл бұрын
Yes, it works in iOS.
@sahaphonmukphet6336
@sahaphonmukphet6336 3 жыл бұрын
i found error "message" no such table Users.. how to fix?
@pradyumnakubear8561
@pradyumnakubear8561 2 жыл бұрын
same here how to solve it if you have solution could you please reply me bro
@mehmeteminozen6203
@mehmeteminozen6203 2 жыл бұрын
Its been a long time but i got same error, and i just realized i typed name wrong in the second page. You should check your names.
@muhammetaydinn
@muhammetaydinn Жыл бұрын
make new table with different name or delete table and make new table
@vantungpham159
@vantungpham159 3 жыл бұрын
can you answer my question in the previous video ?
@mashschool
@mashschool 3 жыл бұрын
I answered it. Good luck.
@vantungpham159
@vantungpham159 3 жыл бұрын
@@mashschool next video you can guide about Reactotron debugger ?
@nunomonteiro9808
@nunomonteiro9808 5 ай бұрын
i did just like you, but it is not inserting neither selecting.... and I did just like you...
React Native Tutorial #26 - Redux - State Management
13:44
Programming with Mash
Рет қаралды 63 М.
What’s the Best React Native Storage Option? 🧐
12:53
Simon Grimm
Рет қаралды 41 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,4 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 7 МЛН
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 412 М.
React Native Database & User Authentication
27:38
Supabase
Рет қаралды 23 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 224 М.
Up and Running with SQLite3 in a NodeJS API
47:16
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 2,5 М.
PostgreSQL CRASH COURSE - Learn PostgreSQL in 2024
50:26
Asyncstorage React Native | Async Storage Tutorial
14:19
Adrian Twarog
Рет қаралды 104 М.
SQLite in Python || Python Tutorial || Learn Python Programming
10:11
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,4 МЛН