![]() ![]() The next step is to initialize the project with a package.json file. You can name it anything but in this example, it is called mern-todo. ![]() Open your terminal and create a new file directory in any convenient location on your local machine. This tutorial was verified with Node v14.2.0, npm v6.14.5, mongodb-community v4.2.6, express v4.17.1, and mongoose v5.9.17. You will also need a code editor that you are familiar with, preferably one that has support for JavaScript code highlighting.Äownloading and installing a tool like Postman is recommended for testing API endpoints. It is also possible to follow the installation instructions and run MongoDB locally, but this tutorial will not cover that process and is left as-is for educational purposes. ![]() mLab has been closed to new account creation since February 2019 and they suggest using MongoDB Atlas. Note: This tutorial was originally written to use the mLab service to host a MongoDB database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |