Summary

In this chapter, we have learned how to use the default methods provided by Mongoose to create and save new database entries, based on our schemas and models. We have seen that you can run a quick single command, or have greater control and flexibility through issuing a series of separate commands.

In our project, we have now added the ability to create users and projects.

Coming up in the next chapter, we're going to look at how to use Mongoose to query the database, to find the data we want and use it to populate a web page.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.227.190.93