Skip to content

A social network API using Express.js for routing, a MongoDB database, and Mongoose ODM

Notifications You must be signed in to change notification settings

AnitaBanh/Social-Network-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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].

About

A social network API using Express.js for routing, a MongoDB database, and Mongoose ODM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published