![]() There are plenty of examples out there in the ocean of successful products that use completely different stacks. What I would like to add here is that there is not anyone perfect reason or explanation to why you should use MERN stack, or in that matter, any stack. As their own WEBSITE quotes, Mongoose is an elegant MongoDB object modelling for Node.JS. And while we are on this subject, Node + MongoDB + Mongoose is just a breeze. And this whole reason also answers the question why MERN stack, too. And so, the developing process becomes much painless. As MongoDB stores data in an identical format to what we get as a response from REST APIs, it was like the backend, frontend and database, are not any different from each other at all. ![]() ![]() MongoDB is a database that stores the data in the form of JSON (JavaScript Object Notation) like documents. The reason is very similar to “why Node.JS?”. Just like I said for ‘why Node.JS?’, if you have read THE OTHER BLOG that I mentioned earlier, then the answer is the same which I am simply going to go ahead and again quote here. Having said that, now I’ll answer the question to why I choose MongoDB. And as the frontend is also written using a JS framework, it would be very easy to build the REST APIs while being in the same paradigm of language, i.e. Moreover, with Express.JS which as stated in their very own WEBSITE, is a Fast, unopinionated, minimalist web framework for Node.JS. And being JS, there was not one-second thought for me. If you have read THE OTHER BLOG that I mentioned earlier, then the answer is the same which I am simply going to go ahead and quote here -įor starters, it’s a JavaScript runtime environment. □ Now if you are later then follow along, I will explain why I went with Node.JS as the backend and MongoDB as the database. And I wish you very best of luck with your project. And I hope this blog helped you find the answers you were looking for. If you the former, then it’s time for you to get started with developing your Web App.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |