crud-basic

0.4.0 • Public • Published

CRUD-Basic

CRUD-Basic show the way to implement CRUD functionality with different kind of databases without help from MVC pattern.

Routing language

RESOURCE LIST:
  method: GET
  URL: /resource/list/{name}

READ RESOURCE:
  method: GET
  URL: /resource/{entity}/{selector}

VIEW TO CREATE RESOURCE:
  method: GET
  URL: /view/create/{entity}

MODEL TO CREATE RESOURCE:
  method: GET
  URL: /resource/model/create/{entity}

CREATE RESOURCE:
  method: POST
  URL: /resource/{entity}

VIEW TO UPDATE RESOURCE:
  method: GET
  URL: /view/update/{entity}

MODEL TO UPDATE RESOURCE:
  method: GET
  URL: /resource/model/update/{entity}

UPDATE RESOURCE:
  method: PUT
  URL: /resource/{entity}

DELETE RESOURCE:
  method: DELETE
  URL: /resource/{entity}

Configuration

For adjusting the application to your environment modify the following file: config/environment.json

Licensed under MIT License

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i crud-basic

    Weekly Downloads

    1

    Version

    0.4.0

    License

    none

    Last publish

    Collaborators

    • semanticprogrammer