Looking for a good place to start hosting my React site. Ideally somewhere that starts off free and only charges when it scales.
I have seen Heroku and perhaps that's the best choice, although SSL is only available in the $7 a month "Hobby" option.
I've seen Deta.sh but that seems quite hard to get started.
I considered AWS but I'm pretty sure if you use Route 53 for a domain, you are outside the free tier.
Thanks
Check out Netlify, sounds perfect for your usecase. Convenient and has generous free plan (with ability to add custom domain as well).
+1 for Netlify, this is where we host all our React sites.
+1 For Netlify as well, I host a number of sites there, statically generated sites with some SPAs in there too. Don't need to pay for the service, but I do anyway, that is how much I love the service.
Vercel is great https://vercel.com/ especially if you use React with Next.js https://nextjs.org/ (Vercel created and maintains Next.js)
I think you don't need Route 53 to host a static website on S3. You can use Cloudflare for DNS (it's free) and SSL.
For a simple developer experience just use Vercel, pretty sure it supports React.
I don’t think I can host a react site on s3 it needs node. I will check vercel
React sites don’t need once they are built. You only need node in the development environment
ok my bad I didn't explain. I have a react site but also the express api that actually runs the react site (and does some api stuff)
If it's just frontend, you can statically export it to .html and .js files etc. and put everything in S3 bucket. Then configure this bucket as website and point your domain to it.
If your project needs node, then I don't know if Vercel will work. In that case you need a VPS, but I don't know If there are any free options for that
Gatsby is pretty cool and super fast. They have a free tier. That's where I've hosted https://thursday.social/ and https://listener.app/
I host unblokd.com on vercel.com - easiest way to deploy it
When starting something new I usually consider these three:
Vercel
I think they are by far the easiest to set up, also ideal for Next.js projects. They do have a generous free-tier if you are solo
Netlify
Similar to Vercel, used it in the past.
Cloudflare pages
Newest contender, using it currently but their builds are a bit slow.
ok my bad I didn't clarify. I have a react site but also the express api that actually runs the react site (and does some api stuff). I tried Vercel but afaik that's just for frontend
I use S3.
It’s really easy to deploy via the terminal or your CI tool.
I also use Cloudfront as the CDN.
It is a bit of a learning curve - an hour or two - but it is a highly scalable production grade solution and, unless you get a ton of traffic, it’s totally free.
No need to use Route 53
Microsoft Azure. Also, I've moved all my reactjs codebase to asp.net/blazor.
I'm hosting https://adminkit.io/ & https://bootlab.io/ (and all product demos) on Netlify. It's super easy to connect to a GitHub repository and automatically compiles+publishes on every commit to the
main
branch. Also heard some great things about Vercel.This comment was deleted 2 years ago.