0.9.1 • Published 5 years ago

@paddingtonbear/dynamic-angular-crud v0.9.1

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

npm

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

  1. Implement change strategy into "update" methods so that they only perform an update to the database ONLY if the front end model has changed.
  2. Investigate issues with performing "fetch" based updates.
  3. Add HTTP Headers to Fetch

LINKS

https://github.com/PaddingtonTheBear/dynamic-angular-crud