Built this react project based on one of my favourite shows of all time Breaking Bad.
Check out the project here.
Basically we are going to fetch data making http request and display the results.
Create a react project using create-react-app
.
Install Axios npm install axios
.
Run the application locally on local host:3000
git clone or download the zip file.
Install the package and any packages that it depends on npm install
.
run the app npm start
You can learn more about the Breaking Bad Api.
Getting Started with Create React App
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Promise based HTTP client for the browser and node.js.
Basically axios is a HTTP library used to make request.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
To learn CSS, check out the CSS documentation.
To learn axios, check out the axios documentation.