Hey CodeCrew,
We’ve got a new community app challenge!
What is this?
Given the set of requirements below, challenge yourself to build the app!
The exercise of thinking for yourself and coming up with your own solution is a valuable learning opportunity.
How do I participate?
Simply create your own topic in the Journal section of our forum and update it with your progress as you build your app. If you already have your own Journal thread, you can continue using that.
When your app is completed, record a video to show it in action (We’ll combine the videos together to make a showcase reel) and then upload it here:
What are the dates?
The challenge will run from May 1 to June 1.
What do I win?
Just by participating, you’ll learn a lot and earn a nifty new forum badge:
At the end of the challenge, we’ll make our code available (in case you want to compare solutions) and I also want to make a video reel of all your creations!
What if I’m a beginner?
This challenge is meant for students who have already learned the basics since it’s going to require you to draw on prior experience.
If you’re just starting out, I recommend that you check out these resources instead to get up to speed and then you can participate in next month’s app challenge.
- 14 Day Beginner Challenge
- What is an API?
- How to use APIs (JSON Parsing example)
- If you have access to CWC+, completing the Foundations course will be more than enough.
- If anyone has other helpful resources, reply on this topic!
Can I do the challenge after the deadline?
Even though this challenge runs from May 1 to June 1, it’ll always be available for you to attempt and earn the badge in the future.
However, if you’re ready to participate now, you’ll get to experience it with a whole group of people also attempting it at the same time!
What are the app requirements?
This challenge asks you to build a Stock Tracking app to get the current price of an editable list of stocks. The goal of creating the Stock Tracking app is to be comfortable with getting and displaying data from an API, and also modifying what data is obtained.
Basic Requirements:
-
Get stock data from an API
(Our solution uses: Company stocks batch request Free API- FinancialModelingPrep )
(Note: It looks like they don’t have batch quotes as a free feature anymore. You can try to find another API which offers free batch quotes or for the purpose of this challenge, you can try to fetch the quotes one by one via this API) -
Display a list of stocks, with respective prices and changes in dollar amount.
-
Be able to edit the same list of stocks, and have the option to remove and add stocks by ticker symbol.
Bonus specifications:
- Save user changes to the list of stocks to persist through multiple app sessions
Further challenges:
-
Create a local push notification for when a stock reaches a target price
-
Validate ticker symbols when adding stocks by checking for duplicates, empty fields, and if the symbol is valid after it’s added
A preview of our solution:
- Video
- We’ll post the code to own solution on June 1!