https://www.youtube.com/watch?v=dKINNIPKEA8
MongoDB based API for social media startup
An application for seeding, updating, and modifying social network data.
Using MongoDB via NodeJS, a social media database consisting of Users, Thoughts, and reactions are seeded and interlinked.
Using Insomnia: This data can be viewed and modified.
Visual Studio to run code.
Node.js installed
MongoDB installed
Insomnia installed
NPM install: express
Use the following method/address combinations to access/edit the application database:
Thoughts:
GET, POST: http://localhost:3001/api/thoughts
GET/PUT/DEL single thought: http://localhost:3001/api/thoughts/:thoughtId
Reactions:
POST/DEL: http://localhost:3001/api/thoughts/1/reactions
Users:
GET/POST: http://localhost:3001/api/users
GET/PUT/DEL single user: http://localhost:3001/api/users/1
Friends:
POST/DEL: http://localhost:3001/api/users/1/friends/1
Comprehensive code revisions and testing on Insomnia
Branches merged
Routes, seeds and schemas overhauled
Created branch for alternate routing
Initial routing.
Initiated project, initial modelling.