Skip to content

Commit

Permalink
Merge pull request #746 from turingschool/remove-context-from-stretch
Browse files Browse the repository at this point in the history
Remove context from stretch
  • Loading branch information
hfaerber authored Oct 17, 2023
2 parents 10e7529 + 4b392af commit 8c0a821
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion projects/module-3/showcase.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Here are some tips for creating an interesting, tightly-scoped application!

### Finding an API

Choose an open API to work with where the data sounds interesting to you. A good place to start looking is [this repo with a list of free/open APIs](https://github.com/public-apis/public-apis). Choose an API where you could make an application based on the data from the API. _Do not choose an API that requires "OAuth or OAuth 2.0"_, which is a more complicated authentication scheme. Also, be wary of APIs that have "CORS" value of "no."
Choose an open API to work with where the data sounds interesting to you. A good place to start looking is [this repo with a list of free/open APIs](https://github.com/public-apis/public-apis). You can also reference the list outlined in the Stretch project spec. Choose an API where you could make an application based on the data from the API. _Do not choose an API that requires "OAuth or OAuth 2.0"_, which is a more complicated authentication scheme. Also, be wary of APIs that have "CORS" value of "no."

APIs that require an `apikey` are usually easy to deal with, and some APIs don't require an `apikey`. If the API you want to use relies on an API key, be sure to request one ASAP!

Expand Down
8 changes: 3 additions & 5 deletions projects/module-3/stretch.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,14 @@ Create a summary (MVP) of what your application will do and who your application
* [Makeup](https://makeup-api.herokuapp.com/)
* [Dandelion - Semantic Text Analytics](https://dandelion.eu/docs/)
* [Jemendo Music](https://developer.jamendo.com/v3.0) - stay away from editing a private user's data as this will require OAuth, which is too much to take on for this project
* [Board Game Atlas](https://www.boardgameatlas.com/api/docs/) - stay away from writing data for a user as this will require OAuth, which is too much to take on for this project
* [Cards](http://deckofcardsapi.com/)
* [Dungeons and Dragons](https://www.dnd5eapi.co/docs/)
* [Paleontology](https://paleobiodb.org/data1.2/)
* [E-Sports](https://pandascore.co/)
* [Song Lyrics](https://lyricsovh.docs.apiary.io/#reference)
* [TasteDive Recommendation Engine](https://tastedive.com/read/api)
* [Harvard Art Museums](https://www.harvardartmuseums.org/collections/api)
* [Rijks Museaum](https://www.rijksmuseum.nl/en/api/-rijksmuseum-oai-api-instructions-for-use)
<!-- * [Rijks Museaum](https://www.rijksmuseum.nl/en/api/-rijksmuseum-oai-api-instructions-for-use) -->

Some of these APIs require API keys to consume the data. You'll have to go to the documentation for that API to find out how to get an API key and how to use the API key in your network requests.

Expand All @@ -83,12 +82,11 @@ In addition to an API, you must choose a new technology (or set of technologies)
<section class="answer">
### Global State Management

As apps begin to grow and grow, state management via `useState()` and passing props down through dozens of components gets kind of tangled, messy, and confusing. There are some tools invented to alleviate that issue:
As apps begin to grow and grow, state management via `useState()` and passing props down through dozens of components gets kind of tangled, messy, and confusing. You can always reach for React's built-in Context API as a low-lift solution. However, Redux is a more robust global state management tool that was invented to alleviate that issue in more complex situations:

* React's built-in Context API
* Redux

Companies with large apps are likely to be using a state management tool like the ones listed above. If you're interested in this, you should pick _one_ tool from the list and use it within your React app.
Companies with large apps are likely to be using a tool like Context API or Redux. If you want to choose global state management as your stretch tech, you'll need to implement Redux in your React application since Context is already part of our curriculum.
</section>

<section class="answer">
Expand Down

0 comments on commit 8c0a821

Please sign in to comment.