To use the same code in Expo SDK 51 import expo sqlite library as "expo-sqlite/legacy" and this will work until the next expo ugrade is released. import * as SQLite from 'expo-sqlite/legacy';
const db = SQLite.openDatabase("example.db") This is not supported now. Two availables are openDatabaseSync and openDatabaseAsync. Which one needs to be used?
I think you installed react native expo's default template with typescript. If you did that the code in the video will not work. The app in the video was built on expo's blank template with JS. If you want to continue with the app that you installed than with opendatabaseAsync the functions will have to be async await and with opendatabasesync it does not need to be. But if you want to change the expo installation. Than install react native expo again using npx create-expo-app@latest --template and choose blank.
@@ograndemagolilins170 This is the installation process followed by me ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FX3aWzWcSDI.htmlsi=bhsDBI6X1xcHQvMP
It is not required at first but if you post or if you try to get a some data that you want to render then it will start throwing errors because there won't be a table.
Here is the link to the repo. github.com/dhritich20baruah/YTvids/tree/master/next_rest_api But the project also consist of a pagination part besides the search functionality.
I'am new to web dev, jump in from pure machine learning to web dev. I was assign by my seniors to do a Full Stack web app using Ejs, Express JS, Node JS and Postgresql. And its hard to find a decent and brief tutorials on YT when it comes to this (mostly PERN STACK), I just wanna say 'Thank You' for making this kind of video. Hope you make more of this :)
Yeah you don't need to call the dbConnect function. Actually this application was initially made with mongodb as the data base and then dbconnect was required to be called every time a request was made. I just changed the database to postgres and made required changes to the backend. Sorry for the inconvenience.
I usually do share the code but sometimes I just want to upload the video and get done with it. Anyways here is the link to the repo for this video github.com/dhritich20baruah/Postgresql_Projects/tree/master/nextjs_post/src.
Here is the link to the github repo github.com/dhritich20baruah/YTvids/tree/master/Postgresql/Backend But I am using the same backend for node as well as a react project. You will understand when You go through it.
The code for the edit and delete buttons is: ````<form action="/delete/<%= data[i].id %>"> <button class="btn btn-danger"><i class="material-icons" type="submit">delete</i></button> </form> <a href="/edit/<%= data[i].id %>"> <button class="btn btn-primary" ><i class="material-icons">border_color</i></button> </a>``` For the delete button you have to use form action and for the edit button "a href=" should be used. Only the edit button will redirect. The delete button will simply reload the page. @@Suma-gl6dj
Can you do a MySQL version please without using Prisma, I'm working on a project and am using next auth for signup and login but I want to be able to update my user info and also upload profile picture using multer
I don't use prisma instead use pg and I don't want to go through the process of installing MySQL in my computer. Postgres is gaining a lot of traction these days. If you are using next auth try to use the credentials provider with bcrypt or jwt. As for uploading the image you can use a package called formidable here is a link to that video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QTD9L0jL0dU.html
Here is the link to the repo. github.com/dhritich20baruah/YTvids/tree/master/next_rest_api But the project also consist of a pagination part besides the search functionality.
I really enjoyed this video and found the information to be very helpful. However, I had a little trouble understanding the speaker at times. I think it would be helpful if the speaker spoke a little more slowly and enunciated more clearly. Overall, great video!
@@dhriti3080 module.exports = { experimental: { serverActions: true, serverComponentsExternalPackages: ['mongoose'] } } And also restarted the app. still error coming
If you have not yet solved the problem. I think it will be better if you reinstall next and start afresh. The new version of next is not as stable as they claim to be.
Sir great job 🎉 keep it up u made best nextjs latest tutorial great Sir Best wishes for ur upcoming tutriols please dnt think about less views these views are going to increase drastically it may take some time but no-one can stop u from being best tutor 😂so cheer n buckup standing with u always good luck dear
People understand simple n easy terminology so try using simple vocabulary with examples used in our daily lives so that more people can understand n they want be able to fast forward r click to other channels of u follow this simple technique because people here wan very easy ways little boostups hope u want mind sending my tips as u can 😜 also say why u means me dnt use these techniques for urself r hard words keep ur ideology with u Anyhow hope u wnt mind that I'm also planning n working on project on latest technology techniques used nowdays willing n working on project for fantasy apps like dream11 but more advanced with simple n more flexible game terms n conditions that doesn't essentially a person to be highly educated r experience holder for playing fantasy app but lets see I'm working on this project frm last 5 years as I want to make all each n everything with coding n that to with my knowledge so that latter if any issue occurs will be solved instantly hope ohhh it's too much from my side Srry 😒 anyhow thanks for ur reply n good luck best wishes
Not required any more and neither is getServerSideProps nor getStaticPaths. All of this are taken care of by next server components. Next now creates the html page and sends it to the client.