Coder Social home page Coder Social logo

unofficial-ups's Introduction

Demo-UPC

This is a fan made android version of UPC's official application, which is no longer available at the Play Store.

Find out about why and how I developed this project.

App preview

Setup

  1. Clone project
  2. Add google-services.json (get one here or use your own) to your app module (at this folder)
  3. In case you haven't, download kotlin plugin in your Android Studio
  4. Before building, choose demo build variant (not prod). If you want to use prod, read next sections.
  5. Run.

Build variants

There are two product flavors for this repo, you can find them on the build.gradle. Each one of them uses different repositories to access their info.

  • demo: this variant is for you to test the app.
    • It uses fake repositories which will provide enough logic for you to test the basic app features.
    • I've set up demo keys for you. You can change them if you want.
    • If you want to login, the username is "demo" and the password is "123456" (you can change it here)
  • prod: this is the variant that I use to create the app that I distribute to the users.
    • For it to work, you'll have to add the file appconfig.properties to the project root.
      • It contains the info about the base url and the secret keys for the frameworks I use. You can find a sample here
      • It contains sensitive data, so for security, it's included on the .gitignore. It will never the pushed to this repository. ย  - It gets its data from these repositories. They connect with the university web services, so unless you have base url nothing will work. You won't find that url anywhere in this repo so don't bother searching it.

Project Structure

This app consists of a single module app. This may change in the future, though. That module is divided into packages:

  • Analytics: containts logic related to analytics tracking
  • Components/Base: just some base classes for my componnents
  • Data: contains the models, repositories, and sources from which the data is retrieved.
  • Modules: has a module for each app functionality. Most UI logic is here
  • Utils: Self explanatory?

Kotlin

There are a few classes written in Kotlin. First time using Kotlin, feel free to give any feedback.

Tests

The project also have tests (just a few). I'm still working on my testing skills so feel free to give any feedback. I'll appreciate.

RxJava + MVVM

One of my main goals with this project was to get introduced to RxJava + MVVM. Once again, feel free to give feedback.

unofficial-ups's People

Contributors

bruno125 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.