Skip to content
No description or website provided.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
config
public
resource
view
app.js
package.json
readme.md

readme.md

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

Something went wrong with that request. Please try again.