Judgy aims to facilitate the mediation of local contests so that everyone can focus on enjoying the event.
HOW IT WORKS:
- Contest creators can set rules about what attributes should be considered by participants.
- Contestants and judges are invited by the owner to participate via a unique code.
- After all submissions are sent by contestants and scored by judges, all contest participants get notified about results.
Install dependencies by building the project. It doesn't require any other special configuration to run.
There are three different types of builds: debug
, qa
, and release
.
For differences, check out the gradle configuration. Some highlights are:
- API:
debug
has the flagDEV_BUILD
and uses a mock API, whileqa
andrelease
use the real API endpoint - Logs: are enabled for
debug
andqa
- Release: the build type
release
has never been configured
Run the app in either the emulator or on a device.
- Unit tests exist under the "test" directory. We are aiming to each 100% code coverage on Presenters.
- You can run the code coverage locally by running
./gradlew unitTestCoverage
from the command line. - There are no UI (Espresso) tests at this moment. The "androidTest" directory holds the Skeleton code only.
There have been no releases of this app.
Judgy has no registration or login: the user is created through the API when the app is opened, and saved in the user preferences until it is cleared.
At this moment there is no way to recover your user ID and content if the preferences are cleared.
To make manual testing easier, shaking your phone will clear the preferences and you will be able to test the app as a new user. Note that to our knowledge this is not possible in the emulator.
The debug
buildtype uses a mock API (see Configuration).
If you want to test the debug
build with the real API, use RetrofitClient.getApi()
in class ContestApplication
.
Bugs are reported in Jira.
We use MVP.
- RxJava/RxAndroid
- Retrofit
- Gson
- OkHttp
- Butterknife
- Calligraphy
- Picasso
- UCrop for cropping images
- Mockito
- Timber
- Intrepid common utils
- judgy (both to talk and for jenkins reports)
Started as an apprentice project in Winter 2017 in parallel with Judgy iOS.