2 ms·
This is awesome. What a great service! Just curious, what stack did you use for the human browsable site and database? I am looking for a quick data reporting s
by daveguy 10y ago
This is awesome. What a great service! Just curious, what stack did you use for the human browsable site and database? I am looking for a quick data reporting stack like this that is hopefully easy to set up in Python. Any advice?
- jayfk 10y agoI wouldn't call it stack, really. It's just a little bit jQuery flavored JavaScript that loads the DB via ajax and adds all entries to the DOM. Under 30 LOC: https://github.com/pyupio/safety-db/blob/master/docs/index.html#L67 https://github.com/pyupio/safety-db/blob/master/docs/index.h... It's a bit dirty, but was the right tool for the job. If you are working on a larger project, I'd probably use some template language like mustache to render the elements.