yilin-socialnetworkapi

Description

The goal of this project is to create an API for a social network web application. Users can add or remove friends, create/update/delete thoughts, and react to friends' thoughts. Express.js for routing, the MongoDB database, and Mongoose ODM are utilized for this project.

Users Routes Walkthrough

  • GET all users
  • GET user by ID
  • POST (create) an user
  • PUT (update) user by ID
  • DELETE user by ID
users.mp4

Reaction Routes Walkthrough

  • POST (create) a single reaction to thought by ID
  • DELETE a reaction by ID from thought by ID
reaction.mp4

Thought Routes Walkthrough

  • GET all thoughts
  • GET thought by ID
  • POST a thought
  • PUT thought by ID
  • DELETE thought by ID

Video Link

Friend Routes Walkthrough

  • POST a friend by ID
  • DELETE a friend by ID

Video Link

Usage

  • Run npm install to download all the dependencies.
  • Run npm start to start the server.

Technologies Used

Installation

No installations are needed but feel free to clone this repository down to your computer.

Clone this repo by copying the the SSH key

``` 
git clone git@github.com:chaunnybby7/yilin-socialnetworkapi.git
```

Credits

UC Berkeley Extension, Coding Bootcamp.

License

License

This project was created under the MIT License.

Author

Feel free to reach out to me at the following: