Right now the pieces are a webserver (hosts badge images and html), react/web3 frontend, and firebase DB. This has a big drawback of needing the front end to communicate status of the quantstamp audit to the backend. So users would need to sit at the page for 4+ minutes or refresh periodically.
This is the new architecture I'm kicking around:
Benefits:
Node watches ethereum events so user doesn't have to in browser
Removes dedicated webserver
Heroku goes to sleep and causes badge images to be slow to load or timeout. Hosting on s3 will mean they are always available.
Right now the pieces are a webserver (hosts badge images and html), react/web3 frontend, and firebase DB. This has a big drawback of needing the front end to communicate status of the quantstamp audit to the backend. So users would need to sit at the page for 4+ minutes or refresh periodically.
This is the new architecture I'm kicking around:![img_20181010_083325](https://user-images.githubusercontent.com/361696/46750121-20957480-cc6c-11e8-8fac-141394e7e73a.jpeg)
Benefits: