Socket
Socket
Sign inDemoInstall

firegem-rest

Package Overview
Dependencies
6
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    firegem-rest

A REST API for node.js sitting on top of mongoose. Ideal for use with KendoUI.


Version published
Maintainers
1
Install size
99.6 MB
Created

Readme

Source

firegem-rest

A REST API for node.js sitting on top of mongoose. Ideal for use with KendoUI.

This is a work in progress, not production ready.

This is one part of a collection of modules, under the firegem prefix.

Features

List (filter, sort)

Get (by ID)

Update/Insert/Delete (multiple documents at once, by ID) (Update sub-documents and populated documents at the same time)

Foreign key constraints (appends all mongo 'find' calls with an FK constraint)

Unit tests (Currently only List and Get)

Coming

List (grouping)

Permissions model (read/write)

Views (similar to a DB view)

More Unit Tests

Unit Tests

In order to run the unit tests, firstly make sure you have a mongoDB instance running on port 5858.

Then, from the module base directory, run

npm test

The tests will connect to the following mongoDB uri, and create test data:

mongodb://localhost/firegem-rest-test

Keywords

FAQs

Last updated on 07 Mar 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc