Simple test for the youtube API using express and oauth
- Clone the Repo
- Run
npm install
- Create Google oAuth client ID and store the JSON file to
client_secret.json
. Asredirect url
usehttp://localhost:3000/oauthcallback
.
- Run the App using
npm run dev
- Open
http://localhost:3000/google-auth
to log in with google Auth - Use the
/search?t=
route to perform youtube search