A modern cloud storage web application frontend built on top of Cloudflare R2 object storage. Upload, manage, and access your files through a clean, minimal UI — deployed live at r2-store.vercel.app.
| Layer | Technology |
|---|---|
| Framework | React 19 |
| Language | TypeScript 5.9 |
| Build Tool | Vite 8 |
| Styling | Tailwind CSS v4 |
| HTTP Client | Axios |
| Notifications | react-hot-toast |
| Icons | lucide-react |
| Package Manager | Bun |
| Deployment | Vercel |
- 📁 File upload and management via Cloudflare R2
- 🔔 Real-time toast notifications for upload/delete feedback
- 🎨 Clean, responsive UI with Tailwind CSS v4
- ⚡ Blazing fast dev experience with Vite HMR
- 🔒 Environment-based API configuration
r2-store-frontend-frontend/
├── public/ # Static assets
├── src/ # Application source
│ └── main.tsx # App entry point
├── .env # Environment variables (see below)
├── index.html # HTML shell — app title: R2-Store
├── vite.config.ts # Vite + React + Tailwind config
├── tsconfig.json # TypeScript project config
├── package.json # Dependencies & scripts
└── bun.lock # Bun lockfile
- Bun installed
- A Cloudflare R2 bucket and backend API (see backend repo)
# Clone the repository
git clone https://github.com/Varun789-mx/r2-store-frontend-frontend.git
cd r2-store-frontend-frontend
# Install dependencies
bun installCreate a .env file in the root of the project:
VITE_API_URL=https://your-backend-api-url.comAll Vite env variables must be prefixed with
VITE_to be exposed to the client.
bun run devThe app will be available at http://localhost:5173.
bun run buildOutput is generated in the dist/ folder, ready for deployment.
bun run dev| Command | Description |
|---|---|
bun run dev |
Start the Vite development server with HMR |
bun run build |
Type-check and build for production |
This project is deployed on Vercel. Any push to main triggers an automatic deployment.
Live URL: r2-store.vercel.app
To deploy your own instance:
- Fork this repository
- Import it into Vercel
- Add your
VITE_API_URLin the Vercel environment variables settings - Deploy
- 🔗 Backend repo — (link your backend repo here)
- ☁️ Cloudflare R2 Docs
MIT