A news app to show and search news of different categories. Made with React Native, Typescript and News Api.
- Bare React Native
- React Native Typescript Template
- Tab Navigation installed
- Tab Screens
- See treding news categories
- Search news by categories and topic
- Search news by input term
make sure to have setup development environment
📍 Setting up the development environment
# clone
git clone https://github.com/sketchomania/news-app.git
# install dependencies
npm install
# Or use `yarn`
yarn install
Add config file at src/config/config.ts and paste the following
export const CONFIG = {
API_KEY: 'your_api_key',
ENDPOINT: 'https://newsapi.org/v2/',
COUNTRY: 'your_country',
};
Run project
# run project
npx react-native run-android
Contributions are most welcome in this project be it reporting an issue or sending a pull request.
Some of the things you could help with currently are -
- Improvements
- Make "searchByCategory" of searchScreen global and use it in every screen.
- Adding features
- You can add useThemes()
- Splash Screen can added
- Dark mode can be added