Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shop backend #7

Closed
3 of 4 tasks
svub opened this issue Oct 22, 2019 · 0 comments
Closed
3 of 4 tasks

Shop backend #7

svub opened this issue Oct 22, 2019 · 0 comments

Comments

@svub
Copy link
Owner

svub commented Oct 22, 2019

  • Load orders
  • Show orders
  • Validate payment TX
  • Maybe: mark orders as done

Parameters:

  • shop ID
  • private key - provided by user

Actions:

  • Update: get all orders from storage
    • sync with existing orders (stored in localStorage)
    • all orders show as list (with details and meta data)

Nice to have:

  • highlight orders that just came in during the update
  • add a "Done" button for the shop owner to keep track
  • optionally store private key in localStorage of shop owner
svub added a commit that referenced this issue Nov 14, 2019
Super minimal shop backend #7, just showing the orders as list with plain JSON.

--

* rough draft

* Bit of code clean-up

* experimenting with imports

* adding methods for creating shop configuration

* taking all backend-related methods from Shop to create Backend + use it in backend

* code clean-up + add some decription to HTML

* adding example config that should be replaced by shop owner

* (super) minimal backend loading orders and showing JSON

* adding env:browser so eslint is not complaining about using document and window.

* move into src to test things from local HTTP server

* Enabling "NimiqShop" namespacing

* adding shared css for setup and backend

* linting
@svub svub closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant