Link : https://watch.screencastify.com/v/VKetuWtwfBwSTGOAuc2z
Social Network API is an API for a social network web application where users can share their thoughts, react to friendsโ thoughts, and create a friend list.
The application uses Express.js for routing, a MongoDB database, and the Mongoose ODM.
-
The following shows a GET route to return all users being tested in Insomnia:
-
The following shows a PUT route to update a user being tested in Insomnia:
-
The following shows a DELETE route to delete a user and their thoughts being tested in Insomnia:
I learned how to configure a working Express.js API to interact with a Mongo database using Mongoose.
ยฉ 2021 Caswell Orr. Confidential and Proprietary. All Rights Reserved.