This is an API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list. It uses Express.js for routing, a MongoDB database, and Mongoose ODM.
Run this application from the integrated terminal. Install from the package.json file (npm install).
This video demonstrates usage and functionality: https://drive.google.com/file/d/1m2O6ZCEMxdtUvSLwlOZgmlQddCo_-Fpc/view
Run 'npm start' to start local server. Then run API routes in Insomnia.
The initial database is empty, so start by creating users and then posting thoughts and reactions to those thougthts. The API also has the functionality to view all users, view a single user, add friends to users, view all thoughts, view a single thought, update users and thoughts, as well as delete users, delete thoughts and delete reactions. Once a user is deleted, that user's associated thoughts are also deleted.
Licensed under the MIT License - see the LICENSE.md file for details.
N/A
https://github.com/AnitaBanh Please contact me with additional questions at [email protected].