https://github.com/reactcomponentkit/githubsearch
GitHubSearch is an example for ReactComponentKit.
https://github.com/reactcomponentkit/githubsearch
github react reactcomponentkit rxswift
Last synced: 2 months ago
JSON representation
GitHubSearch is an example for ReactComponentKit.
- Host: GitHub
- URL: https://github.com/reactcomponentkit/githubsearch
- Owner: ReactComponentKit
- License: mit
- Created: 2018-09-26T06:36:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-15T15:10:06.000Z (over 6 years ago)
- Last Synced: 2025-02-14T19:53:54.494Z (10 months ago)
- Topics: github, react, reactcomponentkit, rxswift
- Language: Swift
- Homepage: https://github.com/ReactComponentKit/GitHubSearch
- Size: 5.9 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHubSearch
GitHubSearch is an example for ReactComponentKit. It searches github's users or repositories.
## Before Build
You should set yours client_id and client_secret from GitHub.com. You can get it from [here.](https://github.com/settings/developers)
If you get the above values, you should set them at GitHubAPIKey.swift.
```swift
import Foundation
enum GitHubAPIKey {
static let client_id = ""
static let client_secret = ""
}
```
## Build and Run it!
You might see the below screens :)

## Completed
- [x] Search Users
- [x] Search Repositories
- [x] Show Loding Component when app is requesting an api.
- [x] Show Error Component when the app has occurred some error.
- [x] Show Empty Component when the search result is empty.
## The MIT License
MIT License
Copyright (c) 2018 Sungcheol Kim, https://github.com/ReactComponentKit/GitHubSearch
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.