3 ms·
Rails/Postgres/Heroku/Cloudflare is a great stack. You have the option of scaffolding for quick and dirty mvp test stuff, and you can use something like react_
by davidjnelson 7y ago
Rails/Postgres/Heroku/Cloudflare is a great stack. You have the option of scaffolding for quick and dirty mvp test stuff, and you can use something like react_on_rails to do universal rendering of react, which is pretty great too for the more customized and interactive views.
- jamestimmins 7y agoCan you clarify how Heroku fits with Cloudflare? If I have a domain registered via Namecheap or Google Domains, then point the appropriate record at my Heroku subdomain, it works easily. Heroku also includes easy SSL support. I hear about using Cloudflare often for DNS usage, I just have limited experience with the network side of things, so Ive never been clear why it's something that you need a standalone service for at the MVP stage?
- thegabez 7y agoHeroku free tier does not support SSL, but you can add it using cloudflare.
- davidjnelson 7y agoOh, cloudflare is amazing. A few really great things it does: free(ish) bandwidth, ddos protection, cdn caching, configurable page rules to apply all sorts of things such as granular caching, workers including a key/value store database, to run code inside 150 points of presence all around the world... Plus it does dns and ssl like you already have. They do a bunch of other amazing things as well, but those are a few favorite features off the top of my head. Definitely check them out!
- masukomi 7y agowhile i absolutely agree about that being a good stack, the ask was for SIMPLE * Sinatra, is orders of magnitude simpler than Rails * The command line interface of MySQL is orders of magnitude simpler than PostgreSQL (think "SHOW TABLES" vs. "\dt") * Installing SQLite is easier than PostgreSQL OR MySQL. * Cloudflare is completely unnecessary complexity. Yes it's a valuable service, but most webapps will never need it, and it can be added on later. There are many things that experienced developers come to do without thinking. This doesn't mean they're simple. This usually just means we've memorized how to do the hard bits without worry.
- gitgud 7y agoTotally agree here, there's a lot of unnecessary hurdles in setting up MySQL and Cloudflare, which you just don't need for a simple CRUD app. Basically, YAGNI (You Aint Gonna Need It)