A SnayPay chrome extension repo for url detection and OAuth2
- Admin
- Register products in
registerpage, send it to go server - Get registered products from go server
- Register products in
- Client
- get
registeredUrlsfrom go server, put them into sync storage - on tab create or update, check if current url matches one of
registeredUrls - if matches, fire
pageaction, activating chrome extension, showingproductspage - for sync between
cartProducts, put product info intostoragewhen user adds the product to cart, and pull it when it loads cart page. - when user checks out, send the data to go server and sync it to admin side
- get
- How to sync db with admin and client sides
- Better way to sync cart products/data across multiple tabs?
- Things to add in admin side?
login page -> google api -> jwt token
