ARGA-Genomes / arga-web

Monorepo for ARGA web components and API wrappers
Mozilla Public License 2.0
1 stars 0 forks source link

Research & implement basket functionality #23

Open nickdos opened 2 years ago

nickdos commented 2 years ago

As a proof of concept, add a simple "basket" functionality to the demo site.

Although a demo version can be developed that does not require user authentication, it probably makes sense to include that in the proof of concept. See #25.

Will have to decide where to store the user data. Initial implementation could simply use local storage but longer term, it should be stored in a backend service. 2 options I can think of are in userdetails (simple KV store via REST) or build a really simple API using S3 and API gateway (that could tie into the OIDC authentication, which also uses API gateway). Another option is AWS Amplify DataStore, which is tempting as one of the hosting options for the web component is Amplify. The downside is vendor lock-in. Here is an example shopping cart app.

Basic features:

nickdos commented 2 years ago

Created feature branch issue-23.

nickdos commented 2 years ago

Done as MVP. Create a new issue for specific enhancements or bug fixes.