Skip to content

juliuskrah/theshop

Repository files navigation

Tip

For a multi-tenant implementation checkout multi-tenant branch.

Features

  1. Multi-instance
  2. Merchant chooses version of Shoperal to use
  3. Settings object

Skaffold

  • skaffold dev --skip-tests

Security (GraphQL)

AOP (Webhooks)

Jamstack Ecommerce (using TailwindCSS)

Tenant versioning

k8s Deployment and Namespace. We will also need a Shoperal Controller, that can send update notifications to merchants.

APIs for extensibility

  • Enable an API or interface to plug-in different authentication providers Keycloak
  • Enable an API or interface to plug-in different authorization providers (e.g. OPA)

Submodule Cheat Sheet

  • git submodule update --init --recursive: Pull submodules
  • git submodule update --remote --merge: Fetch remote submodule changes and merge with local changes
  • git submodule update --remote --rebase: Fetch remote submodule changes and rebase with local changes
  • git push --recurse-submodules=check: Ensures push fails if any updated submodule hasn't been pushed
  • git push --recurse-submodules=on-demand: Recursively push all submodule before pushing this commit
  • git submodule foreach 'git stash': Run 'git stash' in each submodule
  • git submodule foreach 'git checkout -b featureA': Run 'git checkout -b featureA' in each submodule
  • git diff; git submodule foreach 'git diff': A unified diff

Improve Startup time