{"id":17981470,"url":"https://github.com/andremion/hostel","last_synced_at":"2025-08-16T21:32:16.953Z","repository":{"id":129053238,"uuid":"128673410","full_name":"andremion/Hostel","owner":"andremion","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-11T12:10:45.000Z","size":249,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T18:12:50.614Z","etag":null,"topics":["android","android-architecture-components","dagger2","dagger2-android","data-binding","hostel","kotlin","reactive-extensions","room","rxandroid","rxjava2","view-model"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andremion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-08T19:11:06.000Z","updated_at":"2024-08-21T00:50:55.000Z","dependencies_parsed_at":"2023-04-01T10:18:17.570Z","dependency_job_id":null,"html_url":"https://github.com/andremion/Hostel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andremion%2FHostel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andremion%2FHostel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andremion%2FHostel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andremion%2FHostel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andremion","download_url":"https://codeload.github.com/andremion/Hostel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230061405,"owners_count":18166703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-architecture-components","dagger2","dagger2-android","data-binding","hostel","kotlin","reactive-extensions","room","rxandroid","rxjava2","view-model"],"created_at":"2024-10-29T18:10:01.702Z","updated_at":"2024-12-17T04:08:54.564Z","avatar_url":"https://github.com/andremion.png","language":"Kotlin","readme":"\u003cimg alt=\"Icon\" src=\"app/src/main/res/mipmap-xxhdpi/ic_launcher.png?raw=true\" align=\"left\" hspace=\"1\" vspace=\"1\"\u003e\n\n# Hostel\n\n[![License Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=true)](http://www.apache.org/licenses/LICENSE-2.0)\n![minSdkVersion 16](https://img.shields.io/badge/minSdkVersion-16-red.svg?style=true)\n![compileSdkVersion 27](https://img.shields.io/badge/compileSdkVersion-27-yellow.svg?style=true)\n[![CircleCI](https://circleci.com/gh/andremion/Hostel.svg?style=svg)](https://circleci.com/gh/andremion/Hostel)\n[![codecov](https://codecov.io/gh/andremion/Hostel/graph/badge.svg)](https://codecov.io/gh/andremion/Hostel)\n\n\u003c/br\u003e\n\n## Structure\n\nThis project has two Android modules:\n\n### [app]\n \n- Contains presentation, Android platform and [dependency injection] classes.\n\nThe ViewModels are used to consume reactive streams from [repository] and update observable fields for data binding. \n\n### [data]\n \n- Contains entities, repository, data sources (remote and local) classes.\n\nSince the database is empty, the repository will request the data from remote data source and then save into local data source.\nThe repository exposes only reactive [entities].\n\nThe local data source saves data into database.\nThe [local] data source has its own models used internally as well as the [remote] data source has its own.\nThe local data source uses database that saves data in [disk] while in testings is used a database that saves in [test].   \n\n## Libraries and tools used\n\n### Android\n\n* [Android Support Library](https://developer.android.com/topic/libraries/support-library/index.html)\nProvides additional convenience classes and features not available in the standard Framework API for easier development and support across more devices.\n* [Data Binding](https://developer.android.com/topic/libraries/data-binding)\nWrite declarative layouts and minimize the glue code necessary to bind application logic and layouts.\n\n### Architecture and Design\n\n* [Android Architecture Components](https://developer.android.com/topic/libraries/architecture/index.html)\nA collection of libraries that help you design robust, testable, and maintainable apps.\nStart with classes for managing your UI component lifecycle and handling data persistence.\n* [Dagger](https://google.github.io/dagger)\nA fully static, compile-time dependency injection framework for both Java and Android.\n\n### Reactive\n\n* [RX Java](https://github.com/ReactiveX/RxJava)\nA library for composing asynchronous and event-based programs using observable sequences for the Java VM.\n* [RX Android](https://github.com/ReactiveX/RxAndroid)\nRxJava bindings for Android.\n\n### View and Image\n\n* [ConstraintLayout](https://developer.android.com/training/constraint-layout/index.html)\nAllows you to create large and complex layouts with a flat view hierarchy (no nested view groups).\n* [RecyclerView](http://developer.android.com/reference/android/support/v7/widget/RecyclerView.html)\nA flexible view for providing a limited window into a large data set.\n* [Glide](https://github.com/bumptech/glide)\nAn image loading and caching library for Android focused on smooth scrolling.\n\n### Data Request\n\n* [Retrofit](http://square.github.io/retrofit/)\nA type-safe HTTP client for Android and Java.\n* [OkHttp](http://square.github.io/okhttp/)\nAn HTTP \u0026 HTTP/2 client for Android and Java applications.\n* [Gson](https://github.com/google/gson)\nA Java serialization/deserialization library to convert Java Objects into JSON and back.\n\n### Persistence\n\n* [Room](https://developer.android.com/topic/libraries/architecture/room.html)\nThe Room persistence library provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.\n\n### Testing\n\n* [Mockito](https://github.com/mockito/mockito)\nTasty mocking framework for unit tests in Java.\n* [Espresso](https://developer.android.com/training/testing/espresso/index.html)\nWrite concise, beautiful, and reliable Android UI tests.\n* [MockWebServer](https://github.com/square/okhttp/tree/master/mockwebserver)\nA scriptable web server for testing HTTP clients.\n\n## License\n\n    Copyright 2018 André Mion\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n    \n[app]: app \"App module\"\n[dependency injection]: app/src/main/java/com/andremion/hostel/app/internal/injection \"Dependency injection classes\"\n[data]: data \"Data module\"\n[entities]: data/src/main/java/com/andremion/hostel/data/entity \"Entities\"\n[repository]: data/src/main/java/com/andremion/hostel/data/repository \"Repository\"\n[local]: data/src/main/java/com/andremion/hostel/data/local \"Local data source\"\n[disk]: data/src/main/java/com/andremion/hostel/data/local/database/disk \"Disk database\"\n[test]: data/src/main/java/com/andremion/hostel/data/local/database/test \"Test database\"\n[remote]: data/src/main/java/com/andremion/hostel/data/remote \"Remote data source\"\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandremion%2Fhostel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandremion%2Fhostel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandremion%2Fhostel/lists"}