9
17 Comments

Where do you host your react site?

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

posted to Icon for group Developers
Developers
on November 23, 2021
  1. 7

    Check out Netlify, sounds perfect for your usecase. Convenient and has generous free plan (with ability to add custom domain as well).

    1. 3

      +1 for Netlify, this is where we host all our React sites.

    2. 1

      +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.

  2. 4

    Vercel is great https://vercel.com/ especially if you use React with Next.js https://nextjs.org/ (Vercel created and maintains Next.js)

  3. 2
    • Firebase hosting is very simple
    • Render has a very simple implementation as well - and is free
  4. 2

    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.

    1. 1

      I don’t think I can host a react site on s3 it needs node. I will check vercel

      1. 1

        React sites don’t need once they are built. You only need node in the development environment

        1. 1

          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)

      2. 1

        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

  5. 2

    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/

  6. 1

    I host unblokd.com on vercel.com - easiest way to deploy it

  7. 1

    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.

    1. 1

      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

  8. 1

    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

  9. 1

    Microsoft Azure. Also, I've moved all my reactjs codebase to asp.net/blazor.

  10. 1

    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.

  11. 2

    This comment was deleted 4 years ago.

Trending on Indie Hackers
30 days ago I posted here with $0 revenue. Here's what actually happened next. User Avatar 148 comments I used $30,983 of AI tokens last month in Claude code on $200/mo plan User Avatar 91 comments How to spot high-intent customers in 5 minutes, for free. User Avatar 44 comments Fixing broken scrapers instead of working on my actual product. So I made it my problem. User Avatar 39 comments I Built a Habit Tracker SaaS Alone in 6 Weeks (No CS Degree, No Team). Here's Exactly How User Avatar 39 comments I built an open-source PII masking layer for LLM APIs — early traction, looking for design partners User Avatar 28 comments