6. Future Work - Gluzberg/cart-client GitHub Wiki

Dependency Injection

  • Currently the library relies on the user to register all of the required services. This can be simplified with configuration and implementation of a out-of the box registration.

Security

  • The Cart API uses currently a simple JWT, this can of course be improved for a productive implementation.

Cart Service

  • Return value structures can be extended to provide more accurate information to the user in case of errors.

Web Demo

  • Expired carts can be deleted using the client library.
  • The application is currently using a simple page reload mechanism at cart update, this can be replaced by a more elegant solution like AJAX for example.