Skip to content

ilknur2603/18-Social-Network-API

Repository files navigation

18-Social-Network-API

License

Table of Contents



# Technologies Used:
##### NoSQL
##### Mongoose
##### MongoDb
##### Nodemon
#####
--------
# Installation
NPM i Express, Node, Mongoose, Nodemon
-------------------------------------------------------------------
# Usage

Mongodb

Get-All-Users,Get-All-Thoughts
Get-Single-Users,Get-Single-Thoughts
Post-Put-Delete//Toughts
Post-Put-Delete//Users
Post-Put-Delete//Users
Add-Friend, Delete Friend
Add Reaction//Delete Reaction
Start Application


# License

Testing Instructions


I tested this project using MongoDB for database creation and my in-line terminal command of "node index.js"

-------------------------------------
# User Story
Challenge is to 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.
In addition to using the [Express.js](https://www.npmjs.com/package/express)
and Mongoose packages,
you may also optionally use a JavaScript date library of your choice or the native JavaScript `Date` object to format timestamps.
-------------------------------------------
## 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
---------------------------
![Questions] (https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)
![GitHub] (https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white) https://github.com/ilknur2603/
![E-mail] (https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white) ilknurdayanc2603@gmail.com/
![Linkedn] (https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white) https://www.linkedin.com/feed/?trk=404_page/
![Twitter] (https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white) https://twitter.com/home/
![Slack] (https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white) **ILKNUR DAYANC BLOOMER ***

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published