0.7.1 • Published 6 years ago

ndx-rest v0.7.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

ndx-rest

automatically generates a REST API from your ndx-framework database

install with
npm install --save ndx-rest
by default all routes require a logged-in user integrates into ndx-permissions and ndx-user-roles to further enhance security

what it does

ndx-rest generates these routes for each table in your database

methodroutedescription
GET/api/TABLE_NAMEreturns a list of items
GET/api/TABLE_NAME/IDreturns the item for that ID
POST/api/TABLE_NAME/searchreturns a list of matching items, eg {where:{_id:'we233rsert'},page:1,pageSize:10,sort:'name',sortDir:'DESC'}
POST/PUT/api/TABLE_NAMEinserts an item into the database
POST/PUT/api/TABLE_NAME/IDupdates and item in the database
DELETE/api/TABLE_NAME/IDdeletes an item from the database
0.7.1

6 years ago

0.7.0

6 years ago

0.6.5

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.9

6 years ago

0.5.8

6 years ago

0.5.7

6 years ago

0.5.6

6 years ago

0.5.5

6 years ago

0.5.4

6 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.10

7 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago