GithubHelp home page GithubHelp logo

friederbluemle / ignite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from infinitered/ignite

0.0 2.0 0.0 14.51 MB

The hottest CLI for React Native, boilerplates, plugins, generators, and more!

Home Page: https://infinite.red/ignite

License: MIT License

JavaScript 2.73% TypeScript 85.17% Starlark 0.95% Java 3.76% Shell 2.26% EJS 1.95% Objective-C 2.73% Ruby 0.44%

ignite's Introduction

logo

Ignite - the hottest React Native boilerplate

npm version

Battle-tested React Native boilerplate

The culmination of five years of constant React Native development, Ignite is the most popular React Native app boilerplate for both Expo and bare React Native.

This is the React Native boilerplate that the Infinite Red team uses on a day-to-day basis to build client apps. Developers who use Ignite report that it saves them two to four weeks of time on average off the beginning of their React Native project!

NOTE: Ignite CLI version 6.0 now includes the boilerplate -- read the blog post to find out why!

Tech Stack

Ignite apps include the following rock-solid technical decisions out of the box:

  • React Native
  • React Navigation 5
  • MobX-State-Tree (Why not Redux?)
  • MobX-React-Lite
  • TypeScript
  • AsyncStorage (integrated with MST for restoring state)
  • apisauce (to talk to REST servers)
  • Flipper-ready
  • Reactotron-ready (and pre-integrated with MST)
  • Supports Expo (and Expo web) out of the box
  • And more!

Quick Start

Prerequisites:

Run the CLI:

# for vanilla React Native
npx ignite-cli new PizzaApp
# or for Expo-powered:
npx ignite-cli new PizzaApp --expo
# to provide a custom bundle identifier (Android only):
npx ignite-cli new PizzaApp --bundle=com.infinitered.pizzaapp

Ignite will walk you through the rest.

If you'd like to follow a tutorial, check out this one from Robin Heinze.

Troubleshooting

The above commands may fail with various errors, depending on your operating system and dependency versions. Some troubleshooting steps to follow:

  • Make sure you are using the LTS version of Node. This can be checked via the node --version command. If you require multiple Node versions on your system, install nvm, and then run nvm install --lts. At the time of writing, Node LTS is v14.x.x.
  • If the installation fails because of an Xcode error (missing Xcode command line tools), the easiest way to install them is to run sudo xcode-select --install in your terminal.
  • If Xcode and command line tools are already installed, but the installation complains about missing patch dependencies, you may need to switch the Xcode location to something else: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

Generators

The hidden gem of Ignite. Generators help you scaffold your app very quickly, be it for a proof-of-concept, a demo, or a production app. Generators are there to save you time, keep your code consistent, and help you with the basic structure of your app.

npx ignite-cli generate --help

...will give you information on what generators are present. To learn more, check out our Generators documentation.

Troubleshooting

If you run into problems, first search the issues in this repository. If you don't find anything, you can come talk to our friendly and active developers in the Infinite Red Community Slack (community.infinite.red).

Further Reading

ignite's People

Contributors

gantman avatar skellock avatar jamonholmgren avatar semantic-release-bot avatar ryanlntn avatar kevinvangelder avatar markrickert avatar robinheinze avatar juddey avatar derekgreenberg avatar hiaw avatar siakaramalegos avatar kateinkim avatar morgandonze avatar adrienthiery avatar nirre7 avatar twerth avatar ruddell avatar dependabot[bot] avatar mmazzarolo avatar bryanstearns avatar novex avatar vantuan88291 avatar anhtuank7c avatar pradel avatar mikaoelitiana avatar lukabers avatar jeroengoddijn avatar harrisrobin avatar friederbluemle avatar

Watchers

 avatar 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.