/Social-Media-API

Server-side API app that allows users to make http requests to interact with a database.

Primary LanguageJavaScript

Social-Media-API

This server-side app is an API that allows the user to make http requests to add, retrieve, remove, and edit data about new users, friends, and thoughts. Paired with a front-end app, a social media platform can be made.

Technologies Used:

  • Node.js
  • Express.js
  • Mongoose ODM
  • Insomnia
  • MongoDB Compass

Organization

  • routes folder: contains routes to handle different incoming http requests
  • config folder: connects app to MongoDB
  • models folder: outlines schema of Thought and User data
  • server.js: starts express server

Running the App:

In the command line:

The command line should log "app listening on port: 3002"

Open insomnia and begin making http requests on local host at port 3002

Video Walkthrough:

https://drive.google.com/file/d/1psmzGro_xmp-tcyxN2cHf0VqpynhN7ww/view

Image:

Social-Media-API-Screen-Shot