Skip to content

patricktunez123/aka-youtube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aka YouTube! (YouTube Clone)

This project was bootstrapped with Create React App.

DEMO

Click here to view the demo of this app

Technologies used

  • ReactJS
  • Redux
  • Firebase
  • Bootstrap

Dependencies

  • axios
  • bootstrap
  • firebase
  • moment
  • node-sass
  • numeral
  • react
  • react-bootstrap
  • react-dom
  • react-helmet
  • react-icons
  • react-infinite-scroll-component
  • react-lazy-load-image-component
  • react-loading-skeleton
  • react-redux
  • react-router-dom
  • react-scripts
  • react-show-more-text
  • redux
  • redux-devtools-extension
  • redux-thunk
  • web-vitals
  • @testing-library/jest-dom
  • @testing-library/react
  • @testing-library/user-event
  • react-youtube

How to set up this app on your local machine

These instructions will get you a copy of this project up and running on your local machine.

Prerequisites

To install this project on your local machine, you need first to clone the repository https://github.com/patricktunez123/aka-youtube.git or download the zip file and once this is set up you're gonna need NODEJS installed on your machine.

Installing

The installation of this application is straightforward, After cloning this repository to your local machine, cd into it using your terminal and run the following command

  • yarn

It will install all the node_modules for the project.

Set environment variables

After successfully installed all packages the next step is to set up environment variables, in root folder create a file and call it .env and open this file in any text editor of your choice then paste the following into it (Do not forget to edit it accordingly):

  • REACT_APP_YOUTUBE_API_KEY=put-your-YouTube-API-KEY-here

Learn how to create a youtube API key here, if you face any problem setting up this project pls whatsApp me +250781429268

After the project set up then use these available scripts according to what you need to do with the project

In the project directory, you can run:

yarn start

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

The page will reload if you make edits.
You will also see any lint errors in the console.

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.

yarn eject

Attention! by running this script make sure you know what you are doing! Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Features

  • Fully responsive (Tablets, Mobile, Big screens)
  • User can search for videos
  • This project is using real data from YouTube API
  • User can watch video
  • User can comment on videos
  • User can see their subscribed channels
  • User can login
  • User can choose category
  • Nice loaders
  • User can subscribe
  • User needs to login to comment

Author

Patrick TUNEZERWANE, +250781429268


License

MIT License

Copyright (c) 2021 Patrick TUNEZERWANE

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.