fix(challenges): Update stock price checker sample project URL and add proxy info (#36801)

* fix(challenges): Updated sample project URL, added information about a proxy for stock price information, and tweaked the English test text slightly
This commit is contained in:
Kristofer Koishigawa
2019-10-15 00:04:32 +09:00
committed by GitHub
parent 28c0102ecc
commit 71fbf2b658
5 changed files with 11 additions and 10 deletions

View File

@ -8,7 +8,7 @@ localeTitle: 股票价格检查
---
## Description
<section id="description">构建一个功能类似于此的完整堆栈JavaScript应用程序 <a href="https://giant-chronometer.glitch.me/" target="_blank">https</a> <a href="https://giant-chronometer.glitch.me/" target="_blank">//giant-chronometer.glitch.me/</a> 。在这个项目上工作将涉及您在我们的入门项目上在Glitch上编写代码。完成此项目后您可以将公共故障网址到应用程序的主页复制到此屏幕进行测试您可以选择在另一个平台上编写项目但必须公开显示我们的测试。使用<a href="https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-project-stockchecker/">此链接</a>在Glitch上启动此项目或在GitHub上克隆<a href="https://github.com/freeCodeCamp/boilerplate-project-stockchecker/">此存储库</a> 如果您使用Glitch请记住将项目链接保存到安全的地方 </section>
<section id="description">构建一个功能类似于此的完整堆栈JavaScript应用程序 <a href="https://sphenoid-crater.glitch.me/" target="_blank">https</a> <a href="https://sphenoid-crater.glitch.me/" target="_blank">//giant-chronometer.glitch.me/</a> 。在这个项目上工作将涉及您在我们的入门项目上在Glitch上编写代码。完成此项目后您可以将公共故障网址到应用程序的主页复制到此屏幕进行测试您可以选择在另一个平台上编写项目但必须公开显示我们的测试。使用<a href="https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-project-stockchecker/">此链接</a>在Glitch上启动此项目或在GitHub上克隆<a href="https://github.com/freeCodeCamp/boilerplate-project-stockchecker/">此存储库</a> 如果您使用Glitch请记住将项目链接保存到安全的地方 </section>
## Instructions
<section id="instructions">

View File

@ -8,7 +8,8 @@ forumTopicId: 301572
## Description
<section id='description'>
Build a full stack JavaScript app that is functionally similar to this: <a href='https://giant-chronometer.glitch.me/' target='_blank'>https://giant-chronometer.glitch.me/</a>.
Build a full stack JavaScript app that is functionally similar to this: <a href='https://sphenoid-crater.glitch.me/' target='_blank'>https://sphenoid-crater.glitch.me/</a>.
Since all reliable stock price APIs require an API key, we've built a workaround. Use <a href='https://repeated-alpaca.glitch.me/' target='_blank'>https://repeated-alpaca.glitch.me/</a> to get up-to-date stock price information without needing to sign up for your own key.
Working on this project will involve you writing your code on Glitch on our starter project. After completing this project you can copy your public glitch url (to the homepage of your app) into this screen to test it! Optionally you may choose to write your project on another platform but must be publicly visible for our testing.
Start this project on Glitch using <a href='https://glitch.com/edit/#!/remix/clone-from-repo?REPO_URL=https://github.com/freeCodeCamp/boilerplate-project-stockchecker/'>this link</a> or clone <a href='https://github.com/freeCodeCamp/boilerplate-project-stockchecker/'>this repository</a> on GitHub! If you use Glitch, remember to save the link to your project somewhere safe!
</section>
@ -23,17 +24,17 @@ Start this project on Glitch using <a href='https://glitch.com/edit/#!/remix/clo
```yml
tests:
- text: Set the content security policies to only allow loading of scripts and css from your server.
- text: Set the content security policies to only allow loading of scripts and CSS from your server.
testString: ''
- text: I can GET /api/stock-prices with form data containing a Nasdaq stock ticker and receive back an object stockData.
testString: ''
- text: In stockData, I can see the stock(string, the ticker), price(decimal in string format), and likes(int).
- text: In stockData, I can see the stock (the ticker as a string), price (decimal in string format), and likes (int).
testString: ''
- text: I can also pass along field like as true(boolean) to have my like added to the stock(s). Only 1 like per ip should be accepted.
- text: I can also pass along field like as true (boolean) to have my like added to the stock(s). Only 1 like per IP should be accepted.
testString: ''
- text: If I pass along 2 stocks, the return object will be an array with both stock's info. Instead of likes, it will display rel_likes(the difference between the likes on both stocks) on both.
- text: If I pass along 2 stocks, the return object will be an array with information about both stocks. Instead of likes, it will display rel_likes (the difference between the likes on both stocks) on both.
testString: ''
- text: 'A good way to receive current price is the following external API(replacing ''GOOG'' with your stock): https://finance.google.com/finance/info?q=NASDAQ%3aGOOG'
- text: 'A good way to receive current prices is through our stock price proxy (replacing ''GOOG'' with your stock symbol): https://repeated-alpaca.glitch.me/v1/stock/GOOG/quote'
testString: ''
- text: All 5 functional tests are complete and passing.
testString: ''

View File

@ -8,7 +8,7 @@ localeTitle: Verificador de preços de ações
---
## Description
<section id="description"> Crie um aplicativo JavaScript de pilha completa que seja funcionalmente semelhante a este: <a href="https://giant-chronometer.glitch.me/" target="_blank">https://giant-chronometer.glitch.me/</a> . Trabalhar neste projeto envolverá você escrevendo seu código no Glitch em nosso projeto inicial. Depois de concluir este projeto, você pode copiar sua URL de falha pública (para a página inicial do seu aplicativo) nesta tela para testá-lo! Opcionalmente, você pode optar por escrever seu projeto em outra plataforma, mas deve estar publicamente visível para nossos testes. Inicie este projeto no Glitch usando <a href="https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-project-stockchecker/">este link</a> ou clone <a href="https://github.com/freeCodeCamp/boilerplate-project-stockchecker/">este repositório</a> no GitHub! Se você usa o Glitch, lembre-se de salvar o link do seu projeto em algum lugar seguro! </section>
<section id="description"> Crie um aplicativo JavaScript de pilha completa que seja funcionalmente semelhante a este: <a href="https://sphenoid-crater.glitch.me/" target="_blank">https://sphenoid-crater.glitch.me/</a> . Trabalhar neste projeto envolverá você escrevendo seu código no Glitch em nosso projeto inicial. Depois de concluir este projeto, você pode copiar sua URL de falha pública (para a página inicial do seu aplicativo) nesta tela para testá-lo! Opcionalmente, você pode optar por escrever seu projeto em outra plataforma, mas deve estar publicamente visível para nossos testes. Inicie este projeto no Glitch usando <a href="https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-project-stockchecker/">este link</a> ou clone <a href="https://github.com/freeCodeCamp/boilerplate-project-stockchecker/">este repositório</a> no GitHub! Se você usa o Glitch, lembre-se de salvar o link do seu projeto em algum lugar seguro! </section>
## Instructions
<section id="instructions">

View File

@ -9,7 +9,7 @@ localeTitle: Проверка цен на акции
## Description
<section id='description'>
Создайте полное приложение JavaScript для стека, которое функционально похоже на это: <a href="https://giant-chronometer.glitch.me/" target="_blank">https://giant-chronometer.glitch.me/</a> . Работа над этим проектом предполагает, что вы будете писать свой код на Glitch в нашем стартовом проекте. После завершения этого проекта вы можете скопировать свой общедоступный URL-адрес глюка (на домашнюю страницу вашего приложения) на этот экран, чтобы проверить его! При желании вы можете написать свой проект на другой платформе, но должны быть общедоступны для нашего тестирования. Запустите этот проект на Glitch, используя <a href="https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-project-stockchecker/">эту ссылку</a> или клонируйте <a href="https://github.com/freeCodeCamp/boilerplate-project-stockchecker/">этот репозиторий</a> на GitHub! Если вы используете Glitch, не забудьте сохранить ссылку на ваш проект где-нибудь в безопасности!
Создайте полное приложение JavaScript для стека, которое функционально похоже на это: <a href="https://sphenoid-crater.glitch.me/" target="_blank">https://sphenoid-crater.glitch.me/</a> . Работа над этим проектом предполагает, что вы будете писать свой код на Glitch в нашем стартовом проекте. После завершения этого проекта вы можете скопировать свой общедоступный URL-адрес глюка (на домашнюю страницу вашего приложения) на этот экран, чтобы проверить его! При желании вы можете написать свой проект на другой платформе, но должны быть общедоступны для нашего тестирования. Запустите этот проект на Glitch, используя <a href="https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-project-stockchecker/">эту ссылку</a> или клонируйте <a href="https://github.com/freeCodeCamp/boilerplate-project-stockchecker/">этот репозиторий</a> на GitHub! Если вы используете Glitch, не забудьте сохранить ссылку на ваш проект где-нибудь в безопасности!
</section>
## Instructions

View File

@ -8,7 +8,7 @@ localeTitle: Comprobador de precios de acciones
---
## Description
<section id="description"> Cree una aplicación de JavaScript de pila completa que sea funcionalmente similar a esto: <a href="https://giant-chronometer.glitch.me/" target="_blank">https://giant-chronometer.glitch.me/</a> . Trabajar en este proyecto implicará que escriba su código en Glitch en nuestro proyecto de inicio. Después de completar este proyecto, puede copiar su URL de error público (en la página de inicio de su aplicación) en esta pantalla para probarlo. Opcionalmente, puede optar por escribir su proyecto en otra plataforma, pero debe ser visible públicamente para nuestras pruebas. ¡Comience este proyecto en Glitch usando <a href="https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-project-stockchecker/">este enlace</a> o clone <a href="https://github.com/freeCodeCamp/boilerplate-project-stockchecker/">este repositorio</a> en GitHub! Si utiliza Glitch, recuerde guardar el enlace a su proyecto en un lugar seguro. </section>
<section id="description"> Cree una aplicación de JavaScript de pila completa que sea funcionalmente similar a esto: <a href="https://sphenoid-crater.glitch.me/" target="_blank">https://sphenoid-crater.glitch.me/</a> . Trabajar en este proyecto implicará que escriba su código en Glitch en nuestro proyecto de inicio. Después de completar este proyecto, puede copiar su URL de error público (en la página de inicio de su aplicación) en esta pantalla para probarlo. Opcionalmente, puede optar por escribir su proyecto en otra plataforma, pero debe ser visible públicamente para nuestras pruebas. ¡Comience este proyecto en Glitch usando <a href="https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-project-stockchecker/">este enlace</a> o clone <a href="https://github.com/freeCodeCamp/boilerplate-project-stockchecker/">este repositorio</a> en GitHub! Si utiliza Glitch, recuerde guardar el enlace a su proyecto en un lugar seguro. </section>
## Instructions
<section id="instructions">