Skip to content

gordonlc18/pennyForYourThoughts-NOSQL

Repository files navigation

pennyForYourThoughts-NOSQL GitHub license

by Latravia Gordon

Description

Build an API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list. You’ll use Express.js for routing, a MongoDB database, and the Mongoose ODM.

Table of Contents

Requirements

User Story:
AS A social media startup I WANT an API for my social network that uses a NoSQL database SO THAT my website can handle large amounts of unstructured data


Acceptance Criteria:
GIVEN a social network API WHEN I enter the command to invoke the application THEN my server is started and the Mongoose models are synced to the MongoDB database WHEN I open API GET routes in Insomnia for users and thoughts THEN the data for each of these routes is displayed in a formatted JSON WHEN I test API POST, PUT, and DELETE routes in Insomnia THEN I am able to successfully create, update, and delete users and thoughts in my database WHEN I test API POST and DELETE routes in Insomnia THEN I am able to successfully create and delete reactions to thoughts and add and remove friends to a user’s friend list

Installation

  • To install run npm init -y, npm install then install the dependencies:
  • Express
  • Mongoose
  • MongoDB
    Then run npm start to connect to the server.

Usage

Social Network API

Tests

There are no test for this application.

Questions

For any questions about the project, please contact me by either of the following links:

License

This project is licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published