Giter Club home page Giter Club logo

news-app's Introduction

News App

A news app to show and search news of different categories. Made with React Native, Typescript and News Api.

⭐ Features

  • 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

⚒️ Tech stack

⭐ Get Started

React Native Setup

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

Screenshot

home screen health screen business screen
search screen search screen search screen

🚀 Contribute

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 -

  1. Improvements
  2. Adding features
    • You can add useThemes()
    • Splash Screen can added
    • Dark mode can be added

news-app's People

Contributors

sketchomania avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

aungnyeinhtet

news-app's Issues

config issue

In src/api/ services.tsx, From where CONFIG is imported? Folder named config as well as file named config is not there in code

class NewsCard got error

This is the error of NewsCard class. It seem problem with the parameter "data"

Type '({ data }: NewsCardProps) => Element | undefined' is not assignable to type 'FC'.
Type 'Element | undefined' is not assignable to type 'ReactElement<any, any> | null'.
Type 'undefined' is not assignable to type 'ReactElement<any, any> | null'.t

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.