Skip to content

Commit

Permalink
feature: Autoplay the next video after completion of one code100x#1308
Browse files Browse the repository at this point in the history
  • Loading branch information
SahilLamba0008 committed Oct 5, 2024
1 parent 1ceeb14 commit 464f11c
Show file tree
Hide file tree
Showing 34 changed files with 486 additions and 292 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
NEXT_PUBLIC_BASE_URL_LOCAL=http://127.0.0.1:3000
ADMIN_SECRET="ADMIN_SECRET"
JWT_SECRET="JWT_SECRET"

# DONT CHANGE FOR RUNNING WITH DOCKER
DATABASE_URL="postgresql://postgres:postgres@db:5432/cms?schema=public"
NEXTAUTH_URL="http://localhost:3000"
Expand Down
96 changes: 93 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions prisma/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ async function seedNotionMetadata() {

async function seedVideoMetadata() {
try {
console.log('seeding video meta data');
await db.videoMetadata.create({
data: {
id: 1,
Expand Down
Loading

0 comments on commit 464f11c

Please sign in to comment.