Yes you can use Node.js without MongoDB as the database you choose is totally on you. You can choose any other database as well. And yes, you can store json data in .json files directly on your Node server but that would not be recommended 😂 It will be a huge nightmare. But yeah, if you wanna try, it would be a fun project.
@@RohitSemriwal And yes, you can store json data in .json files directly on your Node server but that would not be recommended 😂 -- Sir is this joke or seriously we can add JSON File in node.js . If yes then how can we add.
@@sanjeevkumar-nq8we Yes, you can add data in custom .json files on your server. You can use the 'fs' (file system) module, which is already included in Node.js and use it to create any file you want on your server. So, let's say I use the 'fs' module and create a file named myData.json inside my nodejs server Then what I can do is create an object like: var user = { name: "Rohit Semriwal", age: 20 } and then store it in the myData.json file by converting the user object to JSON String. Like: var jsonString = JSON.stringify(user); and then again use the 'fs' module to save the jsonString to the file. This will create a file that I can use as my own database. But this use case is very limited as the database you create will not be enough for actual data needs. When fetching data we need querying and other advanced features which will not be available in just a JSON file. That's why we use a database like MongoDB.
@@sanjeevkumar-nq8we We're making a public API which can be accessed from anywhere and by anyone who has the URL. We can set restrictions on that by using an API Key or other certifications. We'll see that in the future.
mujhe bahot galat lagta hai itna knowledge dene wale logo ko 2k view bhi nahi hai na 1k subscriber lagta hai desh ka youth sirf ladkiya dekhne me busy hai
Ep. 3 will be coming on 17 December 2021 at 06:00 PM 🕕
Helpful Bhai Thank You For Creating This Playlist ❣
lots of lots of love yar from pakistan
itna asan b kia koi smja skta hai kamal hai mai to ap ka fan ho gia yr
It's so easy and intresting learning with you
Thanks a lot! Glad you liked the video 😁
It's so easy and intresting learning with you !❤️
good job
Waiting for next!
😁😁
hey i have faced issue in my password i have special character @ so it is giving me api error so i used ascii value as %40 then is shows correct,
connectivity giving an error it cannot establishing connection with mongoDB
So important software that i missed I just look only on flutter but there is other stuff that is also important ..
Keep learning! 😁
Thank you So Much :)
Thanks for watching!
❤️❤️❤️❤️❤️
Thanks Sir. Can we use node.js without mongodb or store json data in node.js directly
Yes you can use Node.js without MongoDB as the database you choose is totally on you. You can choose any other database as well.
And yes, you can store json data in .json files directly on your Node server but that would not be recommended 😂
It will be a huge nightmare. But yeah, if you wanna try, it would be a fun project.
@@RohitSemriwal And yes, you can store json data in .json files directly on your Node server but that would not be recommended 😂 -- Sir is this joke or seriously we can add JSON File in node.js . If yes then how can we add.
@@sanjeevkumar-nq8we Yes, you can add data in custom .json files on your server.
You can use the 'fs' (file system) module, which is already included in Node.js and use it to create any file you want on your server.
So, let's say I use the 'fs' module and create a file named myData.json inside my nodejs server
Then what I can do is create an object like:
var user = {
name: "Rohit Semriwal",
age: 20
}
and then store it in the myData.json file by converting the user object to JSON String.
Like:
var jsonString = JSON.stringify(user);
and then again use the 'fs' module to save the jsonString to the file.
This will create a file that I can use as my own database. But this use case is very limited as the database you create will not be enough for actual data needs.
When fetching data we need querying and other advanced features which will not be available in just a JSON file.
That's why we use a database like MongoDB.
@@RohitSemriwal Okay Sir then what about API Key, which we use in flutter app.
@@sanjeevkumar-nq8we We're making a public API which can be accessed from anywhere and by anyone who has the URL.
We can set restrictions on that by using an API Key or other certifications. We'll see that in the future.
Sir please add like functionality🙏🏽🙏🏽
This is a notes app so there will be no need of likes. Can you explain further?
bhai bas itna bta do firebase shi rahega ki firebase
"Agar tum 32 bit use kr rhe ho to pta nhi tum kaha rehte ho" 🤣
mujhe bahot galat lagta hai itna knowledge dene wale logo ko 2k view bhi nahi hai na 1k subscriber
lagta hai desh ka youth sirf ladkiya dekhne me busy hai
😂😂😂
Inshallah ek din million subscribers hunge ❤️
Haan nah yaar 😅
username / passwd12