In this assignment, you will build an Ember app where users can search for subreddits on Reddit using the Reddit API.
The Reddit API endpoint you’ll be working with looks like this:
The Search Form
Create a header in the application template containing a search form (a text field and a search button). Style the page a little bit with Bootstrap to make it presentable. When the user clicks on the search button, it should transition to a
subreddit route with a path like
:subreddit is a dynamic segment for subreddit (i.e.
The Subreddit Route
On this route, fetch the data for the subreddit in the dynamic segment of the URL path and display all of the threads. Show the following fields in a presentable way:
Loading and Error Substates
While the Ajax request is pending, show some sort of loading indicator on the screen using Ember’s loading substate template. This could be as simple as “Loading…” or one of these cool CSS spinners. If an error happens, show some kind of error indicator using Ember’s error substate template.
Create a repo on Github called itp404-assignment5 and upload your files. Send an email to the TA and myself with the Github URL.