Welcome to the TikTok Feature project built with React and Vite! This project features a video feed with a bottom navigation bar, closely mimicking the UI and functionality of the TikTok app. Exciting updates and new features are on the way!
Demo here: https://www.youtube.com/watch?v=6p3qW0eJgs8
- 🎬 Video feed with auto-playing videos
- 📜 Scroll to the next video feature
- 🔍 Bottom navigation bar with icons
- 🎨 Styled components for UI design
- 🚀 Add a new TikTok feature! Coming soon...
TikTok-Hackathon-2024-Team-Geniuses
Ensure you have the following installed:
Follow these steps to set up and run the project locally:
First, clone the repository to your local machine using Git.
git clone https://github.com/TikTok-Hackathon-2024-Team-Geniuses/TikTok_Main.git
cd TikTok_Main
Next, install the project dependencies using npm.
npm install
Once the dependencies are installed, start the development server.
npm run dev
This will start the Vite development server. Open your browser and navigate to http://localhost:3000/
(sometimes it will generate a different port number eg: #:5147 ) to see the app running. 🚀
Here's an overview of the project structure, but will be updated when it's completed:
Tiktok-Main/
├── public/ # Static assets
├── src/
│ ├── Components/
│ │ ├── Content_/
│ │ │ ├── VideoFeed.jsx
│ │ │ ├── VideoPlayer.jsx
│ │ │ ├── FetchVideoData.js
│ │ ├── NavigationBar/
│ │ │ ├── BottomBar.jsx
│ ├── App.css
│ ├── App.jsx
│ ├── main.jsx
├── .gitignore
├── index.html
├── package-lock.json
├── package.json
├── README.md
└── vite.config.js
src/Components/Content_/VideoFeed.jsx
: Manages the video feed.src/Components/Content_/VideoPlayer.jsx
: Handles video playback.src/Components/Content_/FetchVideoData.js
: Contains video data.src/Components/NavigationBar/BottomBar.jsx
: Renders the bottom navigation bar.src/App.jsx
: The main app component.index.html
: The HTML template.vite.config.js
: Vite configuration file.
To create a production build, run:
npm run build
This will create an optimized build of your application in the dist
directory. 📁
If you encounter any issues, try the following steps:
- Ensure all dependencies are installed:
npm install
- Clear npm cache and reinstall dependencies:
npm cache clean --force rm -rf node_modules package-lock.json npm install
- Make sure your Node.js and npm versions are up to date.
This project is licensed under the MIT License.
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are welcome! 🌟
This project was created using Vite and React. Big thanks to the open-source community! 💖
Happy Coding! 🚀✨