All Projects → Prattjames → React Native Starter Kit

Prattjames / React Native Starter Kit

React Native starter kit, get up and running !

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Starter Kit

React Adventure
⛰ React high-ending architecture & patterns ready for use. Made for big and small projects. PWA Ready.
Stars: ✭ 62 (+588.89%)
Mutual labels:  styled-components, redux-saga, react-router-v4
isomorphic-react-redux-saga-ssr
Isomorphic, React, Redux, Saga, Server Side rendering, Hot Module Reloading, Ducks, Code Splitting
Stars: ✭ 19 (+111.11%)
Mutual labels:  redux-saga, react-router-v4
React-Redux-Enterprise
A React-Redux boilerplate for enterprise/large scaled web applications
Stars: ✭ 77 (+755.56%)
Mutual labels:  styled-components, react-router-v4
react-universal-starter
React@16, react-router@4, redux and webpack@4 starter project
Stars: ✭ 44 (+388.89%)
Mutual labels:  styled-components, react-router-v4
coincharts
Cryptocurrency Price Chart (GDAX)
Stars: ✭ 75 (+733.33%)
Mutual labels:  styled-components, redux-saga
fb-messenger
Implement React concepts incrementally to a messenger app, training from https://reactjs.academy
Stars: ✭ 70 (+677.78%)
Mutual labels:  styled-components, react-router-v4
react-easy-ssr
🔥 React Starter Project with Webpack 5, Babel 7, TypeScript, Redux-saga, Styled-components, React-jss, Split code, Server Side Rendering.
Stars: ✭ 31 (+244.44%)
Mutual labels:  styled-components, redux-saga
marvel-jarvig
Marvel JARVIG (Just A Rather Very Interesting Game) is a game that lets you find and discover Marvel Comics characters based on their name, image and description!
Stars: ✭ 13 (+44.44%)
Mutual labels:  styled-components, redux-saga
Chronos Timetracker
Desktop client for JIRA. Track time, upload worklogs without a hassle.
Stars: ✭ 273 (+2933.33%)
Mutual labels:  styled-components, redux-saga
React Boilerplate Typescript
🔥 A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices ( Typescript )
Stars: ✭ 279 (+3000%)
Mutual labels:  styled-components, redux-saga
Ssr Sample
A minimum sample of Server-Side-Rendering, Single-Page-Application and Progressive Web App
Stars: ✭ 285 (+3066.67%)
Mutual labels:  styled-components, redux-saga
mickey
🤠 Lightweight front-end framework for creating React and Redux based app painlessly.
Stars: ✭ 26 (+188.89%)
Mutual labels:  redux-saga, react-router-v4
Proffy
👥 Plataforma de estudos online, onde é possível conectar alunos com professores. Este é um projeto que foi desenvolvido durante a Next Level Week #2 da @Rocketseat, durante os dias 3 à 7 de agosto de 2020.
Stars: ✭ 12 (+33.33%)
Mutual labels:  styled-components, expo
molecule
⚛️ –  – ⚛️ Boilerplate for cross platform web/native react apps with electron.
Stars: ✭ 95 (+955.56%)
Mutual labels:  styled-components, redux-saga
react-native-ecommerce
E-commerce mobile application developed using React Native 👔 🎩
Stars: ✭ 60 (+566.67%)
Mutual labels:  styled-components, redux-saga
coconat
🍥 StarterKit Builder for rocket-speed App creation on 🚀 React 17 + 📙 Redux 4 + 🚠 Router 5 + 📪 Webpack 5 + 🎳 Babel 7 + 📜 TypeScript 4 + 🚔 Linters 23 + 🔥 HMR 3
Stars: ✭ 95 (+955.56%)
Mutual labels:  redux-saga, react-router-v4
React Redux Saga Boilerplate
Starter kit with react-router, react-helmet, redux, redux-saga and styled-components
Stars: ✭ 535 (+5844.44%)
Mutual labels:  styled-components, redux-saga
rocketshoes-react-native
NetShoes Clone with React Native and Redux
Stars: ✭ 38 (+322.22%)
Mutual labels:  styled-components, redux-saga
app-intro-lottie-expo
App Intro component with Expo, styled-components and Lottie
Stars: ✭ 46 (+411.11%)
Mutual labels:  styled-components, expo
OverWatchTeams
react+redux+redux-saga+axios
Stars: ✭ 23 (+155.56%)
Mutual labels:  redux-saga, react-router-v4

React Native Starter Kit

This starter kit is designed to get you up and running with a complete React Native project as fast as possible.

Table of Contents

  1. Features
  2. Requirements
  3. Getting Started
  4. Application Structure
  5. Storybook

Features

Requirements

  • node ^4.5.0
  • yarn ^0.22.0 or npm ^3.0.0
  • flow-typed ^2.0.0 (if you wanna use flow)

Getting Started

After confirming that your development environment meets the specified requirements, you can create a new project based on react-native-starter-kit by doing the following:

Install from source

First, clone the project:

$ git clone https://github.com/prattjames/react-native-starter-kit.git <my-project-name>
$ cd <my-project-name>

Then install dependencies and check to see it works. It is recommended that you use Yarn for deterministic installs, but npm install will work just as well.

$ yarn install          # Install project dependencies
$ flow-typed install    # Install dependencies types if you want to use flow
$ yarn start            # Compile and launch (same as `npm start`)

While developing, you will probably rely mostly on npm start; however, there are additional scripts at your disposal:

npm run <script> Description
start Starts your app with expo and also launch Storybook. HMR will be enabled in development.
ios Starts your app with the iOS simulator(mac only), and also launch Storybook.
android Starts the android simulator (needs android studio), and also launch Storybook.
test Runs unit tests with Jest in watch mode.
eject All the configurations are given back to you instead of expo.

Application Structure

.
├── .expo                    # Project and build configurations
├── flow-typed               # Dependencies types for flow
├── node_modules             # All the dependencies
├── src                      # Application source code
│   ├── components           # All the application's components
│   ├── helpers              # Application's helpers
│   ├── pages                # Application pages
│   │   ├── Home             # The first page the user will see
│   │   │   ├── containers   # All the page's containers
│   │   │   ├── reducks      # All that concerns Redux (Model, Creators, Reducers)
│   │   │   ├── routes       # all the routes connected to the Home page
│   │   │   ├── sagas        # All the sagas of the Home page
│   │   │   └── selectors    # All the selectors of the Home page
│   │   ├── Main             # The inbetween component of all pages
│   │   │   ├── containers   # All the page's containers
│   │   │   ├── reducks      # All that concerns Redux (Model, Creators, Reducers)
│   │   │   ├── sagas        # All the sagas of the Main page
│   │   │   └── selectors    # All the selectors of the Main page
│   ├── routes               # Routes of the application
│   ├── services             # Communication with things outside of the app
│   ├── store                # Creation of the redux store and middlewares
│   └── styles               # Application-wide styles (generally settings)
├── tests                    # Unit tests
├── .babelrc                 # Babel configuration file
├── .flowconfig              # Flow configuration file
├── .watchmanconfig          # Watchman configuration file
├── App.js                   # Application entry component
├── app.json                 # Expo configuration file
├── package.json             # Application's dependencies configuration
├── README.md                # Application instructions for the project
└── yarn.lock                # Yarn dependencies configuration

Storybook

React Storybook is realy cool when you are building your UI. It makes you focus on the UI instead of trying to create a route to make it fit your component etc...

Storybook is already in the boilerplate but you need to activate it when you want to use it.

To activate it you must go to in App.js in the root of the project and comment the App component and uncomment the Storybook Component the

//*********** COMMENT THE CODE BELOW TO USE STORYBOOK *************/
/*import React, { Component } from 'react'
import { NativeRouter } from 'react-router-native';
import { Provider } from 'react-redux'

// all routes
import Routes from './src/routes'

// store redux
import store from './src/store'

// history
import { history } from './src/store'

export default class App extends Component {
  render() {
    return (
      <Provider store={store}>
        <NativeRouter>
          <Routes />
        </NativeRouter>
      </Provider>
    );
  }
} */
//*********** UNCOMMENT THE CODE BELOW TO USE STORYBOOK *************/

import Storybook from './storybook'
export default Storybook

after that, run npm start or any other command(ios|android) to run your project then go to http://localhost:7007. You gonna see some errors in the terminal but it's okey wait the end

That's it, you have Storybook in a React Native app with Expo, all need to do now is create your stories ;-)

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].