Coder Social home page Coder Social logo

safernodejs / react-native-starter-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mcnamee/react-native-starter-kit

0.0 1.0 0.0 9.14 MB

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

Home Page: http://react-boilerplate.mcnam.ee/

License: MIT License

JavaScript 96.41% HTML 2.31% CSS 1.27%

react-native-starter-kit's Introduction

React Native Starter Kit

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.

Web Demo React Native Expo Demo


๐Ÿ‘‹ 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 :)

react-native-starter-kit's People

Contributors

mcnamee avatar jean-pierregassin avatar ealemda2 avatar shic avatar tpps88206 avatar jakelacey2012 avatar conghau avatar starjet avatar davesnx avatar githubgreg avatar skibbler avatar benomatis avatar yopichy avatar pmespresso avatar serkanbektas avatar khasky avatar prayagverma avatar undeadlol1 avatar wzuo avatar harrisjt avatar hkalia avatar gusnips avatar dwmkerr avatar cbrevik avatar bhageena avatar guguss avatar ahmedfathyarafa avatar

Watchers

James Cloos avatar

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.