mylocalshop

Shop local, from home

Stars
2

mylocalshop

Shop local, from home


Deployment notes:

  • When installing on Heroku, run heroku stack:set container -a mylocalshop-hasura-engine before connecting to repo & deploying

TODO

  • shops table, user.shops field

  • fix identical files hasura-support/lib/adminGraphql & web/lib/adminGraphql

  • facebook auth provider

  • integrate apollo client subscriptions /w admin pages

  • use react-admin's provided interface for permissions

  • compute siteMap tree structure (with title & icon on leafs) from auth, & render MainMenu & PageHeading (& sitemap.xml?) based on it

  • show ProgressBar when react-admin is loading/refreshing?

  • delete old sessions when user logs in

  • nextjs issues

    • dynamic components swallow errors! It should Promise.reject( errrors by default
    • build matchRoute function, use it like
  • hasura graphql-engine issues

    • createdBy & updatedBy should be in "Frequently used columns"
    • deploy in one service!
  • next-connect issues

    • on errors, in addition to sending error message in http response, should propagate error so they are logged to console by default
  • react-admin issues

    • need to manually pass hasCreate to actions prop of <Edit>, need to (invent &) manually pass hasDelete everywhere
    • render resource views using session and data (example: 'user' role is denied access to edit users except their own user)
  • handle errors in routes (server-side & client-side)

  • styles

    • center things vertically when page is relatively empty (i.e. error pages)
    • do them all properly, with material-ui's makeStyles
    • mobile-friendliness
  • develop hasura-support outside of docker container, with nodemon

  • use prettier

  • use some prop-types & typescript

  • cypress tests

  • use rollbar (or similar)

  • use google analytics

  • i18n

  • Simplify deployment and improve production performance by deploying all 3 processes in same way