https://github.com/hckhanh/imdb-top-movies
his is an DEMO IMDB Top Movies app
https://github.com/hckhanh/imdb-top-movies
Last synced: 2 months ago
JSON representation
his is an DEMO IMDB Top Movies app
- Host: GitHub
- URL: https://github.com/hckhanh/imdb-top-movies
- Owner: hckhanh
- License: mit
- Created: 2015-08-12T08:55:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T22:49:15.000Z (over 4 years ago)
- Last Synced: 2024-11-13T19:10:34.977Z (6 months ago)
- Language: Java
- Homepage:
- Size: 157 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imdb-top-movies [](https://travis-ci.org/hckhanh/imdb-top-movies) [](https://gemnasium.com/hckhanh/imdb-top-movies)
This is an DEMO IMDB Top Movies app include server and client sides.--------
This application is created by following this tutorial:
http://www.androidhive.info/2015/05/android-swipe-down-to-refresh-listview-tutorial/When I do this tutorial. I just think about how to implement Swipe Refresh Layout in Android. Because I am studying about **Android Material Design**. It's very awesome!
But I think I can make an full-side application. So I try learning Node.js and try to replace the current API by **my** own API :D.This is old API:
http://api.androidhive.info/json/imdb_top_250.php?offset=[offset-number]
And, this is my **new** API:
http://code2learn.me/imdb_top_250?offset=[offset-number]
**Note:**The `offset-number` is the range from **0** to **250**
I make an Android app to receive information from the **Node.js** server. You can download it here:
http://code2learn.me/download/imdb_app
## Performance
When I try to implement PHP API, It takes me about **2.5s** to load 20 movies data from the server (include movie rank and movie name). On the other hand, Node.js server only takes about **0.3s** even less to send these data.
The server which is running on Node.js is faster than PHP server **8x times**. It's amazing!
## Continuous Integration Service (Travis CI)
APK file (Android) is tested automatically by Travis CI host.