An API for a social network web application where users can share their thoughts, react to friends’ thoughts, and create a friend list. This API uses Express.js for routing, a MongoDB database, and the Mongoose ODM.
NEED TO ADD
NEED TO ADD
NEED TO ADD
NEED TO ADD
NEED TO ADD
MIT License
Copyright (c) 2024 Aaron Sanchez
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Mongoose Connection:
TopCoder Article - Connect MongoDB to Node.js
Mongoose Models:
Geeks for Geeks Article - Model Function
Mongoose Docs - Schema Types
Saturn Cloud Blog - REGEX Validate an Email
Stackoverflow Question - Referencing another Schema
Mongoose Docs - Virtuals
Stackoverflow Question - Defaul to current timestamp
Mongoose Docs - Subdocs
Controllers:
TopCoder Article - Mongoose Schema
If you have any questions, you can find me at my GitHub: aarosan