Movie-Social / movie-social

Solo fullstack application for Movie lovers. Check out current movies, curated movies, leave reviews, and add/remove movies from watch and favorite lists to customize your experience
https://movie-social-club.vercel.app/
0 stars 0 forks source link

Documentation-Wiki & README #58

Open kendallm360 opened 1 year ago

kendallm360 commented 1 year ago

MVP1 - ends 9jul23 MVP2 - will be the last sprint where I am most focused on this. MUST BE deployable by the end of this spriont MVP3 - will mostly be focused on sophia courses and applying UPDATE README table of contents

Mentionables: Although I am a junior I am familiar with.....

Features to mention:

Stretch: Tailwind - takeaway nice but more WET than I like. The time it saves it adds back when i have to make changes.

Approach:

Technologies:

Commands:

PINO:

kendallm360 commented 1 year ago

search movie axios: ` import axios from 'axios'; const options = { method: 'GET', url: 'https://api.themoviedb.org/3/search/movie', params: {query: 'cb4', year: '1999'}, headers: { accept: 'application/json', Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjZDAwZjgyODdjMjVhMTY0MjFjZTAwMjg4MWU4MDhmZSIsInN1YiI6IjY0YTMxNmE3OGUyMGM1MDBhZTEzMmU3NyIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.LE7hXNexC-OfKnrWuNdCsW8CI5EuQ5HZqLVFomxyUCw' } };

axios .request(options) .then(function (response) { console.log(response.data); }) .catch(function (error) { console.error(error); }); `

kendallm360 commented 1 year ago

`const options = { method: 'GET', headers: { accept: 'application/json', Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjZDAwZjgyODdjMjVhMTY0MjFjZTAwMjg4MWU4MDhmZSIsInN1YiI6IjY0YTMxNmE3OGUyMGM1MDBhZTEzMmU3NyIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.LE7hXNexC-OfKnrWuNdCsW8CI5EuQ5HZqLVFomxyUCw' } };

fetch('https://api.themoviedb.org/3/search/movie?query=cb4&year=1999', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));`

kendallm360 commented 1 year ago

TRAILERS: THIS ENDPOINT const options = { method: 'GET', headers: { accept: 'application/json', Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjZDAwZjgyODdjMjVhMTY0MjFjZTAwMjg4MWU4MDhmZSIsInN1YiI6IjY0YTMxNmE3OGUyMGM1MDBhZTEzMmU3NyIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.LE7hXNexC-OfKnrWuNdCsW8CI5EuQ5HZqLVFomxyUCw' } };

fetch('https://api.themoviedb.org/3/movie/24978/videos', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));

WILL GIVE results.key="VvZjdok7cNE" which is the end https://www.youtube.com/watch?v=VvZjdok7cNE