Skip to content

aaguirre7/animated-octo-happiness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkedIn

License: MIT


logo


Click the logo to launch APP

Social Media API in No-SQL

No-SQL powered DB API

<a https://github.com/aaguirre7/animated-octo-happiness">

Explore the docs



Table of Contents
  1. About The Project

  2. What was done

  3. instalation

  4. usage

  5. Contact

About The Challange

Product Name Screen Shot

The Task

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

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

What was done

Created a No-SQL mongodb database with routes for API and schema for the DB. APP needs a front end and can be tested using a rest API software like Insomia or Postman as shown in the project video.

App build in:

JavaScript
Express.js
Node.js
MongoDB
Git

Instalation

  • Clone or Fork the Repo to your computer.

  • Install NODEjs.

  • Use NPM to install dependencies:

"express": "^4.18.1",

"moment": "^2.29.3",

"mongoose": "^6.3.2"


  

npm install

  

Usage

Run the following from the directory where you have downloaded the repo.


  

npm start

  

this is only if you want to run this in your own deployment. the live app is currently deployed on heroku.

Videos

ezgif com-gif-maker (1)


Thank you for taking time looking at this page.

Happy painting!

(back to top)

Contact

Abraham Aguirre Aguirre.Abraham@gmail.com

Project Link: https://github.com/aaguirre7/animated-octo-happiness