react-native-starter-kit

:rocket: A React Native + React (web) & Firebase (optional) boilerplate app to get you up and running very, very quickly :rocket:

Github星跟踪图

GitHub tag
GitHub contributors
GitHub license
GitHub issues
GitHub closed issues
GitHub pull requests


CryptoTip Donate

React (Web + Native) Starter Kit

For when you're looking to build 'the next big thing' for both web and native mobile.



? Intro

This boilerplate launches with a React web app and React Native app sharing a single code base. It shares the 'business logic' (i.e. models, containers) across the platforms, whilst allowing flexibility in View components to ensure your project looks and feels native in each platform.

The project is super helpful to kick-start your next project, as it provides a lot of the common tools you may reach for, all ready to go. Specifically:


? Docs


? Getting Started

0. Prerequisites

Make sure you have Expo CLI installed

npm install -g expo-cli

1. Clone and Install

*It's recommended that you install React Native Debugger and open before yarn start.

# Clone the repo
git clone https://github.com/mcnamee/react-native-starter-kit.git

# Install dependencies
yarn install

2.1. Run the React Native App

# Start the React Native packager
yarn start

Instructions are shown in the terminal. You can select to open it in:

  • An emulator (either iOS or Android)
  • Your mobile device with the Expo app. It will reload if you save edits to your files and you will see build errors and logs in the terminal.

2.2. Run the Web App

# Starts are local live-reload server at:
# http://localhost:3001
yarn run web

Via webpack, starts a localhost server on port 3001 http://localhost:3001.

  • Save code and it auto refreshes
  • Install Redux DevTools into Chrome to see the state of Redux

? Further Help?

This repo is a great place to start, but if you'd prefer to sit back and have your new project built for you, get in touch with me directly and I can organise a quote.


? Inspiration

If there's any other ideas presented in this repo, that you think worth mentioning - feel free open a pull request :)

主要指标

概览
名称与所有者mcnamee/react-native-starter-kit
主编程语言JavaScript
编程语言JavaScript (语言数: 6)
平台
许可证MIT License
所有者活动
创建于2015-10-13 07:48:50
推送于2023-01-07 04:07:29
最后一次提交2021-09-06 01:11:19
发布数21
最新版本名称4.1.0 (发布于 2020-04-29 15:54:48)
第一版名称0.10.0 (发布于 )
用户参与
星数3.4k
关注者数117
派生数867
提交数59
已启用问题?
问题数201
打开的问题数3
拉请求数44
打开的拉请求数10
关闭的拉请求数11
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?