FluxShare is a web app for uploading files, scanning them for malware, and sharing them through secure links or direct user sharing.
- React 19
- Vite
- Tailwind CSS v4
- Supabase (Auth, Postgres, Storage)
- Vercel Serverless Functions
- VirusTotal API
- Install dependencies:
npm install
- Create a Supabase project and configure the database.
Run the SQL migrations located in supabase/migrations using the Supabase SQL editor.
- Create a
.envfile in the project root with the following values:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
VIRUS_TOTAL_KEY=your_virustotal_api_key
- Start the development server:
npm run dev
The app will be available at http://localhost:5173.
- Create a Vercel project and add the same environment variables from
.env. - Deploy the app using the Vercel CLI or the Vercel dashboard.