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

fergus

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fergus

Light-weight REST API framework, shipped with basic auth, generator and Waterline ORM.

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Fergus

Light-weight REST API framework, shipped with basic auth, generator and Waterline ORM. Written in coffeescript.

Why Fergus?

Fergus's aim is to enable anybody to get a RESTful API up and running in a matter of minutes. Based on (express) with cli service generators that generate all basic CRUD functionality as well as the Waterline ORM from Sails.js. It is also easy to add custom endpoints and route filters (middleware). A users service and basic authentication come with a fresh install.

Perfect for rapid prototyping of single-page apps but also able to scale nicely with adapters for different storage types (mongodb, mysql, etc).

No functionality of Waterline or express has been curtailed. The framework can be extended as you wish and modules can be plugged in as middleware on routes.

Installation

npm install fergus -g

Creating a new project

fergus new app_name
cd app_name

Starting a server

fergus start

Generating a service

fergus generate service service_name

For example:

fergus generate service car

Would create a car model and the corresponding CRUD actions and RESTful routes at api/services/car.coffee

To do

  • User roles
  • Update/patch for multiple objects at once

Contributing

Coffeescript please. Send pull-requests my way. Any feedback is more than welcome.

Keywords

FAQs

Package last updated on 05 May 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