8.1 - Bitcoin API Setup
Here, we will set up our React App to see the Bitcoin app, both in the sidebar, as well as in the body.
Bitcoin.js
First, build out our folder structure. You should build out the structure to look like this:
In your Bitcoin.js
file, add the following code:
This will set us up with a file that is importing React and Component, as well as render for us a basic structure to see what is going on.
Routes and Sidebar
Next, in your Sidebar.js
file, set up a route for Bitcoin.js
and a link to it, linking to BitcoinApp
.
Run your React App and you should see this:
Last updated