In this chapter, we created a basic API that connects to MongoDB and supports CRUD methods. You should now be able to set up an API complete with tests, for any data, not just movies and actors!
The astute reader will have noticed that we have not addressed some issues in the current chapter such as dealing with race conditions in MongoDB. These will be clarified in detail in the following chapters.
We hope you found that this chapter has laid a good foundation for the Express and API setup.