Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theankurkedia/newsbuzz
News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.
https://github.com/theankurkedia/newsbuzz
dart firebase flutter
Last synced: about 2 months ago
JSON representation
News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.
- Host: GitHub
- URL: https://github.com/theankurkedia/newsbuzz
- Owner: theankurkedia
- License: mit
- Created: 2017-08-31T13:58:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-27T21:29:39.000Z (about 6 years ago)
- Last Synced: 2024-08-03T17:19:51.641Z (5 months ago)
- Topics: dart, firebase, flutter
- Language: Dart
- Homepage:
- Size: 3.96 MB
- Stars: 596
- Watchers: 35
- Forks: 200
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-coding - newsbuzz
README
# News Buzz
News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.
## Features
* Custom news feed based on selected sources
* Saving articles
* Explore news based on categories
* Search for topics
* Sharing articles## Preview
![ios-demo](./screenshots/NewsBuzz.gif)
## Dependencies
* [Flutter](https://flutter.io/)
* [Firebase](https://github.com/flutter/plugins/blob/master/FlutterFire.md)
* [Google Sign In](https://github.com/flutter/plugins/tree/master/packages/google_sign_in)
* [Flutter Webview Plugin](https://github.com/dart-flitter/flutter_webview_plugin)
* [News API](https://newsapi.org/)## Getting Started
#### 1. [Setup Flutter](https://flutter.io/setup/)
#### 2. Clone the repo
```sh
$ git clone https://github.com/theankurkedia/newsbuzz.git
$ cd newsbuzz/
```#### 3. Setup firebase app
1. You'll need to create a Firebase instance. Follow the instructions at https://console.firebase.google.com.
2. Once your Firebase instance is created, you'll need to enable anonymous authentication.* Go to the Firebase Console for your new instance.
* Click "Authentication" in the left-hand menu
* Click the "sign-in method" tab
* Click "Google" and enable it3. (skip if not running on Android)
* Create an app within your Firebase instance for Android, with package name com.yourcompany.news
* Run the following command to get your SHA-1 key:```
keytool -exportcert -list -v \
-alias androiddebugkey -keystore ~/.android/debug.keystore
```* In the Firebase console, in the settings of your Android app, add your SHA-1 key by clicking "Add Fingerprint".
* Follow instructions to download google-services.json
* place `google-services.json` into `newsbuzz/android/app/`.4. (skip if not running on iOS)
* Create an app within your Firebase instance for iOS, with package name com.yourcompany.news
* Follow instructions to download GoogleService-Info.plist, and place it into newsbuzz/ios/Runner in XCode
* Open newsbuzz/ios/Runner/Info.plist. Locate the CFBundleURLSchemes key. The second item in the array value of this key is specific to the Firebase instance. Replace it with the value for REVERSED_CLIENT_ID from GoogleService-Info.plist#### 4. Run the app
```sh
$ flutter run
```## License
Licensed under the [MIT license](https://opensource.org/licenses/MIT).