0.1.2 • Published 9 years ago

oars v0.1.2

Weekly downloads
6
License
ISC
Repository
github
Last release
9 years ago

oars

A nodejs module making node-restify more easy to use.

Inspired by Sailsjs. People can use Configuration making their restify server.

Feel Honorable to contribute your idea.

IMPORTANT version above 0.1.0 shall be stable.

Get Started

User Oars Generator create a sample.

Goal

  • Globals Variable
  • Logging
  • Middleware
  • Policies
  • Routes
  • Services
  • Oars Generator
  • API Document

Globals Variable

Global variables will be exposed automatically by Oars. Default with async, lodash, oras, services available in global variables, you can use it directly in each controller.

Logging

Make your server with more detail logger.

Middleware

You can easily config the default or your own middlewares with the loading order.

Policies

Configurable policies for controler or controller's method.

Routes

You can design your app's URLs in any way you like :)

Security

Protection against most known types of web-application-level attacks.

Services

Services can be thought of as libraries which contain functions that you might want to use in many places of your application. For example, you might have an EmailService which wraps some default email message boilerplate code that you would want to use in many parts of your application. The main benefit of using services in Oars is that they are globalized -- you don't have to use require() to access them.

Oars Generator

We provide command line generator tools for init your project.

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago