Git Product home page Git Product logo

bes-tube's Introduction

BesTube

Play with the YouTube api. In order to consume the API you will need to register/create your app on Goolge Dev Console. You can do that by going to https://console.developers.google.com and in the top right corner there is a dropdown menu, click it and create a new application.

Once the app is created click on Enable Api and select YouTube Data API. Finally the last step consists of clicking in the side menu on Credentials --> Create credentials --> Api Key.

Save the new create key in a .env file with the format YOUTUBE_API_KEY=<API_KEY>.

Hope that helps Melanie:)

Production

  $ yarn install
  $ yarn build
  $ yarn start

Check localhost:9005.

Development

In development run:

  $ yarn install
  $ yarn dev

Check localhost:3005.

Testing

  $ yarn install
  $ yarn test

bes-tube's People

Contributors

besarthoxhaj avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bes-tube's Issues

Improve README

Add in the README an exhaustive section describing how to get the Google Dev api-key and also how to enable the YouTube API.

Sample app not searching

I followed the following steps as per guide:

  $ yarn install
  $ yarn dev

The app loads on http://localhost:3000/, but searching doesn't work - here is the error:
index.js:38 POST http://localhost:9000/api/search net::ERR_CONNECTION_REFUSED

If I run yarn start to get the server running on port 9000, I get index.js:38 POST http://localhost:9000/api/search 400 (Bad Request)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.