Skip to content

vsjanarthani/Social-Network-API-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Network API using MongoDB License: MIT

Description

This Repo contains code for performing CRUD operations for a social network API and the data created are stored in MongoDB using Mongoose.

Build With

JavaScript, ES6, Node.js (Express, Mongoose, validator), MongoDB.

Table of Contents

Installation

Inorder to install the necessary dependencies, run npm install in your terminal.

Usage

After installing all the dependencies, npm start in your terminal. For a walkthrough demo click here !Demo.

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 Core 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 Core
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 Core
THEN I am able to successfully create and delete reactions to thoughts and add and remove friends to a user’s friend list

License

This application is covered under MIT license.

Contributing

No contributions at the moment. If anyone wishes to provide contributions, please contact the author.

Screenshot

webpage

Questions

If you have any questions, please reach out to the
Author: Janarthani V S
Email : vs.janarthani@gmail.com
Author's github profile: GitHub

Releases

No releases published

Packages

No packages published