You mentioned we need to install express.js; which is not required if you are just running this DB file. And the whole code can be written in much better way. What you have written in callback pattern of coding.
Now you have Promises and Async - Await Pattern to handle asynchronous operations.
If you want, I can work on this file and make a cleaner code.
Ya sure. If you want to make it a bit clear then it's most welcomed. And I just want to make it clear that this is just for beginners. So, I don't want to confuse them by adding Async and Await. Thanks for your suggestions. And yes Express is not needed :D.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You mentioned we need to install express.js; which is not required if you are just running this DB file. And the whole code can be written in much better way. What you have written in callback pattern of coding.
Now you have Promises and Async - Await Pattern to handle asynchronous operations.
If you want, I can work on this file and make a cleaner code.
:)
Ya sure. If you want to make it a bit clear then it's most welcomed. And I just want to make it clear that this is just for beginners. So, I don't want to confuse them by adding Async and Await. Thanks for your suggestions. And yes Express is not needed :D.