Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

coderosh-zz/youtube-like-graphql-api

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

Contributors 2

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /