Giter Site home page Giter Site logo

vukan-markovic / news9 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.32 MB

App for reading news created in Flutter using News API and Firebase authentication

License: MIT License

Kotlin 0.06% Ruby 1.29% Swift 0.90% Objective-C 0.02% Dart 97.04% HTML 0.70%
flutter flutter-apps flutter-app flutter-material flutter-firebase flutter-firebase-auth flutter-bloc flutter-bloc-pattern flutter-android flutter-ios flutter-web flutter-desktop flutter-localization flutter-rxdart flutter-http hive-database flutter-shared-preferences flutter-image-picker flutter-provider google-sign-in

news9's Introduction

News9

Internship project - Flutter - April 2021

The main goal of this project was to provide users a way to sign up, sign in to the application, see the list of news, open and read news, browse news by date, categories, sources, keywords, etc., save favorite ones and see them later.

Used News API for fetching news and Firebase for authentication.

Support mobile (Android & IOS), web, and desktop (macOS) app.

1 2 3

4 5 6

7 8 9

10 11

Getting Started

  1. Setup Flutter

  2. Clone the repo

    $ git clone https://github.com/Vukan-Markovic/news9.git
    $ cd news9
    
  3. Setup Firebase app

    1. You'll need to create a Firebase instance. Follow the instructions at Firebase console.

    2. Once your Firebase instance is created, you'll need to enable Google and Email/Password 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 it
      • Click "Email/Password" and enable it.
    3. For Android:

      • Create an app within your Firebase instance for Android, with same package name as this app.

      • 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 news9/android/app/.

    4. For IOS:

      • Create an app within your Firebase instance for iOS, with same package name as this app.

      • Follow instructions to download GoogleService-Info.plist, and place it into news9/ios/Runner in XCode.

      • Open news9/ios/Runner/Info.plist. Locate the second CFBundleURLSchemes key. The 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.

    5. For macOS:

      • Place same GoogleService-Info.plist into news9/macos/Runner in XCode.
    6. For Web:

      • Create an app within your Firebase instance for web, with same package name as this app.

      • Create file firebase_config.js at news9/web and follow instructions to initialize firebase config variable for the web here.

  4. Run the app

    $ flutter run
    

news9's People

Contributors

becejacm avatar dejanljutic avatar vukan-markovic avatar

Stargazers

 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.