Skip to content
/ newsapi Public template

NewsApi App Example

Notifications You must be signed in to change notification settings

NaNtrack/newsapi

Repository files navigation

News API

This app have two tabs, the first one fetches the news from https://newsapi.org and allows you to mark them as favorites. The second tab shows the favorites news

Installation

git clone [email protected]:NaNtrack/newsapi.git
cd newsapi
brew install nvm
nvm install v10.19.0
nvm use v10.19.0
npm i
sudo gem install bundler:2.1.4
sudo bundle install

Run on iOS simulator

npm run ios

Run on Android emulator or connected device

npm run android

Distribute to the stores

cp .env.template .env

Edit the .env file with your stores information

npm run dist-ios
npm run dist-android

TODO

  • Fix sources parameter