Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trungdq88/movie-showtimes
Web Service & Android Application to look up Vietnam movie showtimes
https://github.com/trungdq88/movie-showtimes
crawler java movie-showtimes theater
Last synced: 11 days ago
JSON representation
Web Service & Android Application to look up Vietnam movie showtimes
- Host: GitHub
- URL: https://github.com/trungdq88/movie-showtimes
- Owner: trungdq88
- Created: 2015-01-21T01:40:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-10T15:23:03.000Z (about 9 years ago)
- Last Synced: 2024-08-04T13:04:14.589Z (3 months ago)
- Topics: crawler, java, movie-showtimes, theater
- Language: Java
- Size: 9.19 MB
- Stars: 7
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vietnamese-language - Vietnam movie showtimes
README
# Movie showtimes
Web & Android Application to look up Vietnam movie showtimes# Team
- Đinh Quang Trung
- Nguyễn Ngọc Thanh Hải
- Phạm Thị Thu Hòa# What it looks like
# Requirement
Web / Mobile App
----Features:
- See all movies available now (all theater or with theater filter)
- Showtimes by theater, or movies, or date
- Search by movie name
- Theater detail (name, address, map, images...)
- Movie detail (name, description, poster, trailer...)Crawler
----
- Crawler schedule: everyday (movies, showtimes, theater) or manually
- Target site data change: must have mechanism to change old invalid data# Architecture
# Entities
Cinema
------
- name
- website_linkTheater
-------
- name
- description
- city
- address
- map_link
- image
- cinemaMovie
-----
- name
- description
- poster
- trailer
- show_date
- length
- genre
- director
- actor
- age_restriction
- audio_type (lồng tiếng / vietsub)
- video_type (2D / 3D / 4DX)Session
-------
- show_datetime
- movie
- theater# API
API:
- `/getMovies&city={city}`: return all movies which have sessions in `{city}`XML Schema:
```xml
```# Development
- Maven build for all java projects
- Netbeans IDE 7.4
- Java Web Applications:
- Apache Tomcat 7.0.57
- Java JDK 6
- Java EE 6 Web# Deployment
Bookmark URLs:
-
- CI Web Client: http://jbossews-trungdq88.rhcloud.com/
- CI Web Service: http://jbossews-trungdq88.rhcloud.com/API/getMovies?city=
- MongoDB GUI: https://jbossews-trungdq88.rhcloud.com/rockmongo/
- Openshift repository (require ssh authen): `ssh://[email protected]/~/git/jbossews.git/`MongoDB
-
**Connection:**
Use this configuration to connect to MongoDB in CI:String host = System.getenv("OPENSHIFT_MONGODB_DB_HOST");
String sport = System.getenv("OPENSHIFT_MONGODB_DB_PORT");**Authentication:**
- Root User: admin
- Root Password: (check message)
- Database Name: jbossews**Management GUI:**
- URL: https://jbossews-trungdq88.rhcloud.com/rockmongo/
- RockMongo User: admin
- RockMongo Password:(check message)Deploy:
-
1. From Openshift git repository, pull code changes`git pull github master`
2. Merge conflicts if there is any
3. Push code to CI
`git push openshift master`
4. Check the console message to see if the build is success
Crawl new data:
-
Connect SSH to the serverrhc ssh jbossews
Move to deployed directory
cd /var/lib/openshift/54cb1bebfcf93359b800017d/app-root/runtime/repo/crawler-app/target/
Start the crawler
java -jar crawler-app-1.0-jar-with-dependencies.jar galaxy cgv bhd
That's it.