Skip to content

A Movies Android App built on TMDB API showcasing popular,trending and upcoming movies.Refactored to MVVM architecture using arch components.

Notifications You must be signed in to change notification settings

odaridavid/Smoovie-android-TMDb

Repository files navigation

Smoovie-android-TMDb

Travis Buils Codacy Badge Maintainability

Smoovie is an Android app Querying TMDb API to provide information on popular, trending, upcoming movies with an option of saving ones favourite movies in a wishlist.

Prerequisites

  1. Obtain Key

Create an account with TMDB to obtain an API key.

  1. Configure gradle.properties

Once you have your TMDB key,you will need to add it to a global gradle.properties file so as not to add it to version control and expose your key and configure the projects app module build.gradle to reflect the name you gave your API Key. To Access the global gradle.properties ,Locate the .gradle file in the following directory

Windows: C:\Users<Your Username>.gradle

Mac: /Users//.gradle

Linux: /home//.gradle

If it doesn't exist create one and add in your API key like so

PROJECT_API_KEY = 'API_KEY_VALUE'
  1. Configure build.gradle

Then In the app module build.gradle add the following function under defaultconfig/release/debug closures depending on your preference to have access to the API key.

 buildConfigField("String", "API_KEY", "\"${project.hasProperty("SMOOVIE_API_KEY") ? SMOOVIE_API_KEY : System.getenv("SMOOVIE_API_KEY")}\"")

Screenshots

Screen1 Screen2 Screen3 Screen4 Screen5

Libraries Used

License

MIT License

Copyright (c) 2018 David Odari

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

A Movies Android App built on TMDB API showcasing popular,trending and upcoming movies.Refactored to MVVM architecture using arch components.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages