socialNet-API

Social Network API

License: MIT

Description

It is a social media startup It is an API for social network that uses a NoSQL database and can handle large amounts of unstructured data

Table of Contents

Installation

1- Clone the reprositiry into your computer

2- Install express and mongoose from npm (npm i)

3- Enter node index (npm start) in the terminal

Usage

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

Image 1

Deployed video: https://drive.google.com/file/d/1fI9Lz7DcPnNviiLBHHU3EtOU3fkqy2ws/view

Repository: https://github.com/raedaltaki/socialNet-API

Contributing

https://courses.bootcampspot.com/

Tests

Deployed video: https://drive.google.com/file/d/1fI9Lz7DcPnNviiLBHHU3EtOU3fkqy2ws/view

Repository: https://github.com/raedaltaki/socialNet-API

Questions

For addition questions, Please reach me at:

GITHUB: https://github.com/raedaltaki

Email: raed.simon@gmail.com

License

https://choosealicense.com/licenses/mit/

  MIT License

  Copyright (c) 2021 raedaltaki
  
  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:
  
  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.
  
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.
Visit original content creator repository https://github.com/raedaltaki/socialNet-API

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *