anim.pedia.demo.mp4
This project was bootstrapped with Create React App.
npm init react-app anime-app
git remote add origin https:github.com/Caro-L-dev/Anime-app.git
git branch -M main
git push -u origin main
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
$ npm install react-dotenv- Create a
.env&.env.templatefiles. - Put
.envin.gitignorefile. - Then put
const yourUrl = window.env.OMDb_API_KEY; - Don't forget to restart the server when the
.envis modified.
Axios is a simple promise based HTTP client for the browser and node.js.
Axios provides a simple to use library in a small package with a very extensible interface.