Skip to content

Mongoose Object Data Modeling (ODM) REST API for a dynamic social media startup. Utilizing NoSQL databases, this solution effectively handles extensive unstructured data. Built with Express.js, MongoDB, and Mongoose ODM, it guarantees scalability and efficient data management.

License

Notifications You must be signed in to change notification settings

FernyCastro8/Social_Network_API-mod18

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Network API

Description

Mongoose Object Data Modeling (ODM)

Developed for a social media startup, this application leverages NoSQL databases to efficiently manage substantial unstructured data. Powered by Express.js for seamless routing, it employs MongoDB and Mongoose Object Data Modeling (ODM) to ensure robust scalability and streamlined data handling.

Table of Contents


Installation

  • Open your favorite text editor of choice

  • Open terminal and enter the following command:

    npm start to start sever || npm run dev to to automatically restart server

  • Open API testing tool or Platform of choice & start testing routes

Modules / Packages / Dependencies
  • node js 18.5.0
  • express 4.18.2
  • mongoose 6.9.2
  • dayjs 1.11.7

software:

  • Insomnia Rest API

Usage

WHEN user enters the command to invoke the application
THEN the server is started and the Mongoose models are synced to the MongoDB database.

WHEN User opens API GET routes in Insomnia or any other HTTP-based APIs software or plaform, for users and thoughts
THEN the data for each of these routes is displayed in a formatted JSON.

WHEN user tests API POST, PUT, and DELETE routes in Insomnia or any other HTTP-based APIs software or plaform,
THEN user is able to successfully create, update, and delete users and thoughts in my database.

WHEN user tests API POST and DELETE routes in Insomnia
THEN user is able to successfully create and delete reactions to thoughts and add and remove friends to a user’s friend list

Credits

Ferny Castro

🔗 Github

🔗 Linkedin


License

MIT License

Copyright (c) 2023 Ferny Castro

License: MIT


Demo

Social_media_API-mod18.mov

About

Mongoose Object Data Modeling (ODM) REST API for a dynamic social media startup. Utilizing NoSQL databases, this solution effectively handles extensive unstructured data. Built with Express.js, MongoDB, and Mongoose ODM, it guarantees scalability and efficient data management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published