Skip to content

semanticprogrammer/crud-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published