React to link

Host your React app for free

A React app made with Vite builds into a folder of plain files. Upload that folder to droply and it's live at your-name.droply.page in seconds, refreshes and deep links included.

Free plan: 1 project, files up to 10 MB, no expiry · no card needed · See plans

To host a React (Vite) app for free, run npm run build, zip the dist folder it creates and upload the ZIP to droply. Your app is live at a link like my-app.droply.page, and links straight to inner pages like /about keep working because droply falls back to index.html.

1

Build it

In the project folder run npm install, then npm run build. Vite puts the finished site in a folder called dist.

2

Zip the dist folder

Zip the contents of dist so index.html sits at the top of the ZIP, next to the assets folder.

3

Upload it

Drop the ZIP on droply.so and pick a name. The app is live at your-name.droply.page.

Routes, refreshes and React Router

When a visitor opens a path with no file behind it, like /pricing or /users/42, droply serves your index.html and React Router shows the right page. So BrowserRouter works as it is; you don't need HashRouter.

If you set a base in vite.config (for example base: "/app/"), remove it or set it to "/" before you build, because a droply site lives at the root of its own address.

What runs on droply

  • Everything Vite builds: HTML, CSS, JavaScript, images and fonts
  • Calls from the browser to APIs and services such as Supabase or Firebase
  • Not server code: an Express or Node API needs its own server

Plans

Free: 1 project, 10 MB, 5,000 visits a month. Starter ($5/month billed yearly): 3 projects, 100 MB, no badge. Plus ($12/month billed yearly): 10 projects, 1 GB, passwords, custom domains and analytics. Every paid plan starts with a 7-day free trial.

Questions

Do I need HashRouter?

No. droply sends unknown paths to index.html, so BrowserRouter links open directly and survive a refresh.

Is it free?

Yes, one project up to 10 MB is free and doesn't expire. Most React builds are well under that. Without an account you can try it as a guest: 5 MB, online for 1 hour.

How do I update the app?

Run npm run build again and upload the new ZIP to the same droply project. The link stays the same.

Does Create React App work too?

Yes. Its build goes into a folder called build instead of dist; upload that folder the same way.

Your React app, live at your own link

Drop the file in, pick a name, and send the link. It opens on any phone or computer.