In this project I've tried to create a video sharing app where one can share their videos, like and comment on other videos, basically cloning the whole functionality and UI of YouTube. As of now, routing and database have been implemented on the server side whereas the whole YouTube similar UI has been developed on the frontend side.
In production, the data being fetched from the hosted server takes a while thus usually on the first load, it might take about a minute for the contents of the website to load properly
-
Clone the repo
git clone https://github.com/mihir224/youtube-clone
-
Run
npm install
to install all of the necessary package -
Create a .env file in the project directory to store your mongoDB credentials
-
Then, in both the client and server directories, run
npm start
separately. -
The project should now be accessible at
localhost:3000