This is starter code for a beginners-friendly introduction to APIs workshop. This project was created using Create React App. The goal of the workshop is to use an API to generate random quotes.
In the project directory:
- Download and install node
- Open
Terminal
on MacOS orPowerShell
on Windows - Clone this git repository by running
git clone https://github.com/hootsuite/apis-101.git
thencd apis-101
. If you don't have git installed or encounter other issues, you should be able to download a zipfile of the code directly - Run
npm install
which will download all dependencies for this project - Run
npm start
which will start the project
Follow the instructions in src/Quotes.js to make the 'Generate Quotes' button work!
You can view solutions by switching branches on GitHub to either solution
, solution-include-author
or solution-quotes-by-author
. Do this by clicking the button that reads Branch: master
.
You can learn more about API Design in our blog post.
To learn React, check out the React documentation.
If you're interested in careers at Hootsuite, take a look here.