An open API service indexing awesome lists of open source software.

https://github.com/samuel310/news_app_demo


https://github.com/samuel310/news_app_demo

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# news_app_demo

A new Flutter project, to demonstrate the integration of api.

## Web Demo

[Web App URL](https://flutter-news-demo.000webhostapp.com/)

For web app, in order to login you have to disable CORS in your browser.
If you are running the app in chrome browser, follow the steps:
1. Install [Chrome extension](https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf?hl=en)
2. Open the option page in the extension and enable the following options
- Access-Control-Allow-Headers
- Access-Control-Allow-Credientials
- Access-Control-Allow-Origin (select "*")

3. Start the extension by pressing the toggle on/off button

## Download Apk

[news-app-demo.apk](https://github.com/Samuel310/news_app_demo/raw/main/news-app-demo.apk)

## Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.