naturalcrit / homebrewery

Create authentic looking D&D homebrews using only markdown
https://homebrewery.naturalcrit.com
MIT License
1.1k stars 326 forks source link

[LOCAL, DOCKER]: Browse all brews in database #1766

Open G-Ambatte opened 3 years ago

G-Ambatte commented 3 years ago

For local installs only, it would be useful to be able to see all brews in the database, regardless of the brew's author.

This may be possible by wrapping a path definition in server.js in an if block that checks for non-production environments; e.g. NODE_ENV == 'local' || NODE_ENV == 'docker'

dbolack-ab commented 5 months ago

How would you see this working? As an endpoint or a change to the brew listing page?