0.9.1 • Published 5 years ago
@paddingtonbear/dynamic-angular-crud v0.9.1
Dynamic Angular CRUD Service
This project is an attempt at creating a reusable CRUD (Create, Read, Update, Delete) data service in Angular to make it easier for performing CRUD operations against many different Database Tables.
Documentation
Check out the documentation at:
https://paddingtonthebear.github.io/docs/dac/index.html
Running the Examples
Install the code with NPM:
npm install @paddingtonbear/dynamic-angular-crud
Then run json-server to generate a fake DB with REST endpoint:
json-server db.js
Finally, kick off the Angular dev server:
ng serve
Open your browser to http://localhost:3000/ and you should see the example page!
TODO
- Implement change strategy into "update" methods so that they only perform an update to the database ONLY if the front end model has changed.
- Investigate issues with performing "fetch" based updates.
- Add HTTP Headers to Fetch