Coder Social home page Coder Social logo

social-network-api's Introduction

social-network-api

This is an API for a social network web application, where users can share their thoughts, react to friends thoughts, and create a friend list. This application uses Express.js for routing, a MongoDB database, and the Mongoose ODM. This application also uses dateFormat.js which is a javaScript date library to format timestamps.

Installation

  • Please clone GitHub repository
  • npm init
  • Install MongoDb and Express in your computer
  • Invoke application using npm start.

Technologies

  • Express.js
  • JavaScript
  • MongoDB
  • Mongoose
  • Node.js
  • dateFormat.js
  • Insomnia

Walkthrough video URL

https://drive.google.com/file/d/1MkjCdXLg7ABEqe9L9qJKuETd1m3sbCHW/view

In this walkthough video, I demostrate functionality of application inteacting with CRUD operations. Once I enter the command npm start to invoke application, my server is started and the Mongoose models are synced to the MongoDB database. Then I open API GET routes in Insomnia Core for "users" and "thoughts". The database for each o these routes is displayed in a formatted JSON. Then, I test API POST, PUT, and DELETE routes in Insomnia Core, and I am able to successfully create and delete reactions to thoughts and add and remove friends to a user's friend list.

Snapshot

Screen Shot 2021-04-26 at 10 15 08 AM

Screen Shot 2021-04-26 at 10 15 31 AM

Screen Shot 2021-04-26 at 10 16 02 AM

License

MIT license Bower

social-network-api's People

Contributors

yoyachi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.