Skip to content

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'.

Notifications You must be signed in to change notification settings

Laura-Kam/EchoChamber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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].

About

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'.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published