This package has been deprecated

Author message:

this package has been deprecated

@ximerajs/restful

0.2.4 • Public • Published

Ximera RESTFul

When you add this plugin to your project, you get access to components that simplifies the publishing of RESTFul resources for your applications. This plugin provides server-side routes for all REST operations, including schema validation and capacity to create simple hooks to modify the basic behavior. It also provides client side Angular services to access your resources, bundled with your application when you consume them. All resources can be secured using various strategies as well as different for various operations.

Getting started

In any Ximera project, you just have to install this module and register it with your container.

npm install --save ximera-restful
// src/index.js
const Ximera = require('ximera-js');

// Instantiate the Ximera container targeting our current folder
let ximera = new Ximera(__dirname, {
    timeout: 5000,
    plugins: [ "restful" /*, other plugins */ ]
});

// Init and load the container...

Creating and Exposing REST Resources

Angular service

Readme

Keywords

none

Package Sidebar

Install

npm i @ximerajs/restful

Weekly Downloads

1

Version

0.2.4

License

none

Last publish

Collaborators

  • jgrenon