Qabbout / NYTimesFlutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NYT_Articles

This is NYT most popular articles flutter app using MVC architecture.

Getting Started

Make sure to create an account at NYT Developer website first, than enable most popular articles service, copy your api key, and create the file: .env in the root folder and add the following:

SAMPLE_KEY = {put_your_api_here}

now you can run the app, and to do so exceute the following command in the root folder of the app:

flutter run

Testing

You can run the tests from vs code as seen in the picture below:

or by the running the following command in the root folder:

flutter test test

Builidng the app

To build the application for android please run the following command in the root folder:

flutter build apk --split-per-abi

for iOS, I would recommend build it from xcode as you do with native iOS applications.

About


Languages

Language:Dart 84.4%Language:HTML 13.6%Language:Swift 1.4%Language:Kotlin 0.4%Language:Objective-C 0.1%