@woodl/crud
v3.0.0
Published
CRUD service for mongoose models
Downloads
140
Readme
@woodl / crud
Version history
1.0.0
- Created NPM package1.0.1
- Fixed small bug with parsing Base64 incrudNew
2.0.0
- Merged with TT-Webapp2.0.2
- Updated README2.0.6
- Verify documents exist before removing3.0.0
- Typescript
New in 2.0.0
- Prettier
- Project specific Query
- Moved auth
- Generally usable version
- Generalized project specific arugment order (req, res, instance?)
- Fixed inits
- Reversed atob and btoa
- Delete CRUD runs pre/post hooks
Usage
const projectSpecific = {
query: require('./project-specific-query'),
new: require('./project-specific-new'),
create: require('./project-specific-create'),
read: require('./project-specific-read'),
update: require('./project-specific-update'),
delete: require('./project-specific-delete'),
archive: require('./project-specific-archive'),
restore: require('./project-specific-restore'),
}
Adding a new version
git commit -am "Usage of project specific query added"
npm version patch # minor, major
git push
npm publish