emmanuelvr / mini-news

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mini News

Small app to view posts

Prequisites

  • Make sure you can run React Native
  • Use Node version 11.13.0

Running the project

  • Run yarn or npm install
  • Run react-native run-android or react-native run-ios

Features

  • TypeScript
  • Eslint (with TypeScript rules)
  • Redux, react-redux, redux-persist, redux-thunk
  • Prettier
  • Testing with Jest
  • Native Base

Folder Structure

JavaScript code must be inside src/ directory.

  • All filenames must be kebab-case
  • theme This folder holds native-base ejected components for easy component's customization
  • src/components Here we place all components that most likely will be reusable or state-less components
  • src/interfaces Each interface must have its own file. In cases where you need an interface for a property of your interfaces, you can either put it apart or inside the same parent interface.
  • src/redux Here we have all actions, reducers and its constants
  • src/screens Here we create a folder for each screen.

About


Languages

Language:JavaScript 77.3%Language:TypeScript 16.8%Language:Objective-C 3.2%Language:Python 1.6%Language:Java 1.2%