DkTube

A YouTube clone project.

DkTube is a project that aims to recreate the functionality and interface of Youtube.

Technologies used

Install and run the project

Global Dependencies

You need to have a main dependency installed:

  • Node.js LTS v18 (or any higher version)

Do you use nvm? Then you can run nvm install in the project folder to install and use the most appropriate version of Node.js.

Get the repository

git clone https://github.com/dkshs/dk-tube.git

Local Dependencies

So after getting the repository, don't forget to install the project's local dependencies:

npm install

Environment variables

Create a .env file similar to .env.example.

Change Clerk variables according to your project.

# ...
 
# Clerk Keys
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="YOUR_CLERK_PUBLISHABLE_KEY"
CLERK_SECRET_KEY="YOUR_CLERK_SECRET_KEY"
# Only PROD
CLERK_WEBHOOK_SIGNING_SECRET="YOUR_CLERK_WEBHOOK_SIGNING_SECRET"
 
# Clerk Routes
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="/"
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="/"
 
# ...

Run the project

To run the project locally, just run the command below:

npm run dev