This is a React application that allows users to upload and view videos. The videos are stored in Supabase Storage and displayed in a video feed.
- Upload videos in MP4 format
- Display a list of uploaded videos
- Automatically update the video feed after uploading a new video
- React
- Vite
- Bootstrap
- Supabase
- UUID
- Node.js
- npm (or yarn)
-
Clone the repository:
git clone [email protected]:prechak/VideoFeed.git
-
Navigate to the project directory:
cd videofeed
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
to see the application in action.
Ensure you have a Supabase project set up. Replace the supabaseUrl
and supabaseKey
with your own Supabase project credentials in App.js
:
const supabaseUrl = "https://your-supabase-url.supabase.co";
const supabaseKey = "your-supabase-key";
const CDNURL = "https://your-supabase-url.supabase.co/storage/v1/object/public/videos/";