Skip to content

🎥 Youtube Api built with graphql, typescript, prisma and postgresql

License

Notifications You must be signed in to change notification settings

coderosh-zz/youtube-like-graphql-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Like Api Clone

Video upload didn't work with node v14.2.0 Node downgraded to version 12.6.3

  • Make videos folder in root directory

  • Make .env file in root directory

    TOKEN_SECRET=secret1
    TOKEN_EXPIRE=1h
    REFRESH_SECRET=secret2
    REFRESH_EXPIRE=1d
    
  • Create database using sql file in root directory

  • Create .env file inside prisma

    DATABASE_URL="postgresql://<username>:<password>@localhost:5432/youtube?schema=public"
    
  • Development server

    npm run dev

http://localhost:4000/

Remaining

  • Pubsub

About

🎥 Youtube Api built with graphql, typescript, prisma and postgresql

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published