Skip to content

Latest commit

History

History
33 lines (20 loc) 路 1.19 KB

README.md

File metadata and controls

33 lines (20 loc) 路 1.19 KB

MyTube

Simple YouTube Clone, built with React v16 Hooks and shows how to use GraphQL multipart uploads.

This project was bootstrapped with Create React App.

Scripts

yarn start:server

Runs the server which has a GraphQL endpoint and serves the video uploads.
Open http://localhost:4000/graphql to view GraphQL playground.
Video files are served from uploads directory.

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.