Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.62 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.62 KB

Social-Network-API

Description

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.

Table of Contents

Installation

Run this application from the integrated terminal. Install from the package.json file (npm install).

Usage

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.

image

License

Licensed under the MIT License - see the LICENSE.md file for details.

Contributing

N/A

Questions

https://github.com/AnitaBanh Please contact me with additional questions at [email protected].