The little story
For simple projects that require dynamic data, however, I will take the example of your portfolio, to display details of the projects you have worked on you may be tempted to make a backend but frankly...what good? with the current state of the web and web applications, the best choice for this kind of project would be to create a "db.json" file (because JSON is the most used response mode to return data), put the JSON schema of your response and interact with it.
Okay!cool but how do you make requests to your JSON file? because remember, "db.json" is your database but you need a language (a system) to be able to communicate with the stored data.
While browsing on the internet you will find plenty like for example: JSON-QUERY.
But it can very quickly be confusing as syntax can sometimes be difficult to understand.that's where MongoDB comes in.
For me, it was a story in this sense that led to the creation of MongoDB.
How did I hear about MongoDB?
I discovered MongoDB, because of the hype around it. everywhere I typed "REST API with Node", MongoDB was around and to tell you everything I immediately installed it and I was totally lost. yes totally! it even did a few weeks on my PC and as I was not using it, well I ended up uninstalling it is to say.Then when I was in the situation described above, I reinstalled it because I had just really understood what it was for... All this to say, it's good to do technology watch but don't get into something without knowing what it's for or need it in the heart of an experiment all this because of the hype around it (I misspoke myself but I hope I understand you).
Top comments (0)