Skip to content

homberghp/olifantysbank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KISS

  • Database access using DAO/DTO model.

  • Mapping done with factory method, used as a method reference.

  • Where frontend does simple crud, database may speak json(b) in both directions. (Insert/update/delete and get)

  • questionable The return type of all CRUD method is a JSON array, even where only one element is expected. The 'overhead' is '[' +']', which is acceptable. Better stick to REST conventions.

  • DELETE returns an empty array, status code 200.

  • INSERT returns array containing the inserted element and

About

json rest services using postgresql json mapping functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published