News App serves news feed from newsapi.org. It is my pet project to showcase my coding capabilities.
I recommend trying this project in IDX since it handles all dependencies for you. You are able to launch this project in IDX and get going testing with only slight configuration required.
-- clean architecture to achive : modular code, scalability, code testability
-- news api integration : top headline
-- pagination
-- pull-to-refresh to fetch recent news posts
-- filter : news source
-- reset filter : tap on navigation_bar title to show all news top headline
-- internet-connectivity
-- pigeon : host api integration
-- native news details screen : iOS (done) , android (todo)
-- security : app_config.json : will not upload sensitive data to github
-- unit test : implemented test for all api integrated in this app
-- cicd : github action for Android apk & codemagic for ios ipa
news_app_video.mov
Used Flutter Version
Flutter 3.22.1 • channel stable
Tools • Dart 3.1.0 • DevTools 2.25.0
To run this project
(1) create app_config.json
file at (assets/app_config/app_config.json)
(2) copy content from file app_config.json.temp
past that into app_config.json
(3) create your own api_key at : newsapi.org and replace base_url and news_api_key in app_config.json
(4) terminal : flutter pub get
(5) terminal : flutter pub run
For those who wish to contribute in this project, Please follow git commit message rule : How to Write Better Git Commit Messages
The assets
directory houses images, fonts, and any other files you want to
include with your application.
The assets/images
directory contains resolution-aware
images.
This project generates localized messages based on arb files found in
the lib/src/localization
directory.
To support additional languages, please visit the tutorial on Internationalizing Flutter apps
Ref Tutorial : Reso Coder : https://youtu.be/hUAUAkIZmX0?si=HbMhVHMbJHRWHNIg