Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ming

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ming

A Quasi-RESTful Web Service for MongoDB.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Ming

A Quasi-RESTful Web Service for MongoDB.

Status

Experimental, not well tested.

Installation

  • Run sudo npm install ming -g
  • Run ming (see Usage)
  • Put an SSL-enabled proxy in front of it

Usage

  • port: Ming Server port (default 1337)
  • connection-string: MongoDB Connection String for the default deployment (default mongodb://localhost/ming)

Example

ming --connection-string mongodb://mymongoserver/mymongodb

Clients

API

Routes

Documents
  • GET / retrieve collection names
  • GET /:collection retrieve collection statistics
  • GET /:collection/:document retrieve document
  • GET /:collection/:document/:field retrieve field of document
  • POST /:collection/query query documents
  • POST /:collection create document
  • PATCH /:collection/:document update document
  • DELETE /:collection/:document delete document
Files (GridFS)
  • GET /:prefix.files/:file retrieve metadata of file
  • GET /:prefix.files/:file?binary=true retrieve contents of file
  • POST /:prefix.files create file
  • DELETE /:prefix.files/:file delete file

Headers

  • Authorization basic HTTP authorization (e.g. in JavaScript "Authorization : Basic " + btoa(username + ":" + password))

FAQs

Package last updated on 16 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc