Giter Club home page Giter Club logo

laura-kam / echochamber Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.34 MB

This app has built an API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list to keep track of their 'followers'.

Home Page: https://drive.google.com/file/d/1quPyr04qlECHEYnzyIK2_QDlDc064rSl/view

JavaScript 99.75% Shell 0.25%
javascript mongodb social-network mongooseodm api-client expressjs insomnia nodejs

echochamber's Introduction

Title of Project: EchoChamber

License

Table of Contents:

Username

Laura-Kam

Description

This app has built an API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list to keep track of their 'followers'. Apps used are Express.js for routing, a MongoDB database, and the Mongoose ODM. A JavaScript date library is used as well as a native JavaScript Date object to modify timestamps.

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

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

License

MIT

Command to install

npm i.

Instructions for users of the app

Clone the application, install dependencies: Nodemon, Express, MongoDB and Mongoose. Then run the app using nodemon server.js using 'npm start'.

Features of the project

It is a command-line application, which uses an API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list to keep track of their 'followers'.

Link to Git-hub repo.

Link to repo

Screenshot of Application:

Screenshot of website

Bugs

  • Post for users did not work. Issue resolved - used capital letters for username - this was not allowed.
  • Syntax error router.router - fixed router.route.
  • ReactionId was not being found- issue resolved, wrong id key was being used.

Version history

  • 0.1 models created.
  • 0.2 Established connection and finished models.
  • 0.3 Completed routes with express.
  • 0.4 Created delete routes.
  • 0.5 created controllers.

Link to video

How to contribute

Git clone the repo, work on the code, then make a pull request.

Questions

If you have any questions, or would like to get in touch find me on GitHub Laura-Kam or email me at [email protected].

echochamber's People

Contributors

laura-kam avatar

Watchers

 avatar

echochamber's Issues

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.