TriAPI Data Display is an open-source web application that fetches information from three different APIs and displays the data on separate pages. Each API provides unique data sets, allowing users to explore diverse content within the same application.
2
stars
5
forks
source link
[Feature]: Creating Axios instance for IMDB API. #6
Create an axios instance of the IMDB API in the "imdbAPI.js" file which is inside the IMDB folder, which is intern inside the Components folder.
Use "axios.create()" for creating a new axios instance of the base URL of the API that inherits all properties of axios.
This instance should be exported as it would then be used by "imdbCode.js" file for fetching the data.
NOTE-- Follow the steps described in README.md file for activating the API before creating its instance.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
So, what is it about?
Create an axios instance of the IMDB API in the "imdbAPI.js" file which is inside the IMDB folder, which is intern inside the Components folder. Use "axios.create()" for creating a new axios instance of the base URL of the API that inherits all properties of axios. This instance should be exported as it would then be used by "imdbCode.js" file for fetching the data.
NOTE-- Follow the steps described in README.md file for activating the API before creating its instance.
Code of Conduct