Thank you very much for help. The article is clear to understand.
I am getting this error:
db[model.name] = model;
TypeError: Cannot read property 'name' of undefined
Not sure what I'm missing :(
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.