One-Stop Movies
Author: Khoa Bui
Roadmap:
- [ ] Add trailer to each movie and play trailer inside the app.
- [ ] Implement control to switch between carousel view and grid view.
- [x] Add a tab bar for Now Playing and Top Rated movies.
- [x] Add and customize a search bar.
- [x] Replace Flatlist with Carousel.
- [x] Customize the navigation bar.
- [x] Customize the highlight and selection effect of the cell.
- [x] Add a popup modal to see app information.
- [x] User can view a list of movies currently playing in theaters.
- [x] User can view movie details by tapping on a cell.
- [x] User sees loading state while waiting for the API.
- [x] User sees an error message when there is a network error.
- [x] User can clear search text to refresh the movie list.
Run Eslint
- Install eslint:
npm i eslint@latest --save-dev
- Install babel-eslint:
npm i babel-eslint@latest --save-dev
- Install eslint-plugin-react:
npm i eslint-plugin-react@latest --save-dev
- Initialize eselint:
./node_modules/.bin/eslint --init
- Run eslint on all files:
./node_modules/.bin/eslint .
- Run eslint on an individual file:
./node_modules/.bin/eslint App.js
Demo
https://snack.expo.io/@buihdk/one-stop-movies
License
© Khoa Bui 2018
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.