Skip to content

About

Full Stack YouTube Clone using Next.js and MongoDB

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

YouTube Clone

Full-stack Next.js + TypeScript + MongoDB video platform.

Setup

  1. npm install
  2. npm run dev
  3. Open http://localhost:3000

Local development starts a temporary MongoDB automatically and seeds demo videos. Data stored in the temporary database is reset when the dev server stops. Set MONGODB_URI in .env.local to use a persistent MongoDB instance instead.

Likes, subscriptions, watch history, and Watch later are saved in the current browser and are not synced across devices.

API

  • GET/POST /api/videos
  • GET/PATCH/DELETE /api/videos/:id
  • GET/POST /api/comments

The starter seed creates demo videos automatically on first home-page load. Replace demo media URLs with your own Cloudinary URLs for production uploads.

About

Full Stack YouTube Clone using Next.js and MongoDB

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages