上QQ阅读APP看书,第一时间看更新
Giphy app
Using the concepts we have learned so far, we are going to build a simple app using Angular and an Open JSON API provider named Giphy.
Giphy (http://giphy.com) is a simple Gif search engine. The guys at Giphy exposed an open REST API that we can consume and do a bunch of things with the data.
The app we are going to build is going to talk to the Giphy JSON API and return the results. Using Angular, we are going to build interfaces for three features in the app:
- Show a random Gif
- Show trending Gifs
- Search a Gif
We will be using Angular CLI (https://cli.angular.io/) and Twitter Bootstrap (http://getbootstrap.com/) with the Cosmos theme (https://bootswatch.com/cosmo/).
Before we start building the app, let's first understand the app structure.