mongoose-friends - 2-way friendship relationship plugin for Mongoose ODM

  •        280

Easily add "friendships" to your Mongoose user Model through a simple plugin. The friendships are stored in a sub-document array on the model doc without the need for a separate collection. The two users now share a friendship, with different statuses: "requested" and "pending", respectively.

https://github.com/numbers1311407/mongoose-friends

Dependencies:

async : ~0.2.9

Tags
Implementation
License
Platform

   




Related Projects

passport-local-mongoose - Passport-Local Mongoose is a Mongoose plugin that simplifies building username and password login with Passport

  •    Javascript

Passport-Local Mongoose is a Mongoose plugin that simplifies building username and password login with Passport. Passport-Local Mongoose does not require passport, passport-local or mongoose dependencies directly but expects you to have these dependencies installed.

mongoose-unique-validator - mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema

  •    Javascript

mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema. This makes error handling much easier, since you will get a Mongoose validation error when you attempt to violate a unique constraint, rather than an E11000 error from MongoDB.

express-mongoose - Plugin for easy rendering of Mongoose async Query results.

  •    Javascript

Adds Mongoose Query and Promise support to Express. Include express-mongoose in your project, which performs the necessary bindings between express and mongoose.

mongoose-validator - Validators for mongoose models utilising validator.js

  •    Javascript

Validators for Mongoose schemas utilising validator.js. Mongoose Validator simply returns Mongoose style validation objects that utilises validator.js for the data validation.


mongoose - Mongoose Embedded Web Server Library - Mongoose is more than an embedded webserver

  •    C

Mongoose is ideal for embedded environments. It has been designed for connecting devices and bringing them online. On the market since 2004, used by vast number of open source and commercial products - it even runs on the International Space station! Mongoose makes embedded network programming fast, robust, and easy. Check out Mongoose OS - open source embedded operating system for low-power connected microcontrollers. Secure, designed for Internet of Things, complete environment for prototyping, development and managing.

mongoose-deep-populate - Mongoose plugin to enable deep population of nested models

  •    Javascript

Mongoose plugin to enable population of nested models at any level of depth. Support Mongoose 3.8.x and later. Refer to changelog for breaking changes. Specify whitelist option to ensure only certain paths can be populated. This is to prevent potential performance and security issues if you allow API clients to supply population paths.

graffiti-mongoose - ⚠️ DEVELOPMENT DISCONTINUED - Mongoose (MongoDB) adapter for graffiti (Node

  •    Javascript

Mongoose (MongoDB) adapter for GraphQL. graffiti-mongoose generates GraphQL types and schemas from your existing mongoose models, that's how simple it is. The generated schema is compatible with Relay.

Iridium - A high performance MongoDB ORM for Node.js

  •    TypeScript

Iridium is designed to offer a high performance, easy to use and above all, editor friendly ODM for MongoDB on Node.js. Rather than adopting the "re-implement everything" approach often favoured by ODMs like Mongoose and friends, requiring you to learn an entirely new API and locking you into a specific coding style, Iridium tries to offer an incredibly lightweight implementation which makes your life easier where it counts and gets out of your way when you want to do anything more complex.It also means that, if you're familiar with the MongoDB CLI you should find working with Iridium very natural, with all database methods returning promises for their results and sensible, type annotated results being provided if you wish to make use of them.

beerlocker - Source code for Beer Locker tutorials

  •    Javascript

With an ever growing collection of beer, I am in dire need of a way to store and track my beer. What better way to do this than to create an application where I can add, remove, update, and view my beer collection. Like any motivated developer, I want my friends to be able to create their own lockers and control who has access to mine. In this multipart series we’ll be creating a RESTful API using Node, Express, Mongoose to interact with MongoDB, Passport for authentication, OAuth2orize for OAuth support, and explore best practices and tools.

FrAendZ

  •    Python

FrAendZ (pronounced like friends) is an internet-platform for a circle of close friends. It is supposed to help to stay in contact and organize common events (in fact I wrote it to keep some friendships alive). It runs with a minimum of requirements and

node-express-mongoose - A boilerplate application for building web apps using express, mongoose and passport

  •    Javascript

A boilerplate application for building web apps using express, mongoose and passport. Read the wiki to understand how the application is structured.

mongoose-schema-extend - mongoose schema inheritance and discriminator key extension

  •    Javascript

Implements schema inheritance and an optional discriminator key which is useful for storing different types of related documents in a collection and fetching them with the correct model type. From version 0.2.1 mongoose-schema-extend is using harmony proxies. You will need to add the flag --harmony_proxies to your start command if you're using it, or use a previous version.

generate-schema - Convert JSON Objects to MySQL Schema, JSON Schema, Mongoose Schema, Google BigQuery, or a Generic template for Swagger files, documentation, code generation, and more

  •    Javascript

Convert JSON Objects to MySQL Table Schema, JSON Schema, Mongoose Schema, ClickHouse Schema, Google BigQuery, or a Generic template for documentation, code generation, and more. Optionally, add -g to the above if you want the generate-schema command line executable.

mongoose-auth - User authentication plugin for mongoose nodejs orm

  •    Javascript

User authentication plugin for mongoose node.js orm.mongoose-auth enables you to support authorization in any number of ways via authorization strategies.

mongoose-timestamp - Adds createdAt and updatedAt date attributes that get auto-assigned to the most recent create/update timestamp

  •    Javascript

Simple plugin for Mongoose which adds createdAt and updatedAt date attributes that get auto-assigned to the most recent create/update timestamp. The User model will now have createdAt and updatedAt properties, which get automatically generated and updated when you save your document.

node-express-mongoose-demo - A simple demo app using express, mongoose, passport for beginners

  •    Javascript

This is a demo node.js application illustrating various features used in everyday web development, with a fine touch of best practices. The demo app is a blog application where users (signing up using facebook, twitter, github and simple registrations) can create an article, delete an article and add comments on the article. and replace the values there. In production env, it is not safe to keep the ids and secrets in a file, so you need to set it up via commandline. If you are using heroku checkout how environment variables are set here.

backbone-express-mongoose-socketio - An application skeleton using express, mongoose, backbone

  •    Javascript

An application skeleton using express, mongoose, backbone.js, socket.io

mongoose-os - Mongoose OS - an open source Operating System for Internet of Things

  •    C

Mongoose OS is released under Commercial and GNU GPL v.2 open source licenses. Commercial Projects: Contact us for the commercial license.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.