View Code? Open in Web Editor
NEW
Frontend map application of merchants accepting Bitcoin L2 - Lightning Network ⚡ payments in Prague, Czech Republic. Firebase backend. MVP up.
Home Page: http://lnmap.stkl.cz
HTML 1.09%
TypeScript 96.40%
JavaScript 2.34%
Dockerfile 0.18%
lightning-map's People
Contributors
lightning-map's Issues
Frontend - display only map/eshops WHERE visible =1 (only approved places)
Administration - display all WHERE owner= my user.id even if visible = 0(maybe darker tr), add page for approvals for admin accounts (hardcode user.id np - me, may Vita (idk))
Set backend policies, run with auth token as writing permission.
mby use bitcoin/lightning/satoshi symbols for purple background!
Admin functionality should be implemented as follows:
AddMerchant.tsx -> ModifFormMerchant.tsx -> INSERT
EditMerchant.tsx -> ModifFormMerchant.tsx (edit=true, load stuff into variables for form) -> UPDATE
AddEshop.tsx -> ModifFormEshop.tsx -> INSERT
EditEshop.tsx -> ModifFormEshop.tsx (edit=true, load stuff into variables for form) -> UPDATE
App.tsx Router 4 routes
/merchants/add /merchants/edit/:id
/eshops/add /eshops/edit/:id
if (!user) then router.navigate("/") like in useEffect() in Dashboard.tsx
maybe pin drop, or hover move, display (i) box w/ some info
Check that Login and Register works properly and doesn't throw bullshit etc.