Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iethem/react-native-boilerplate-old

boilerplate for react-native
https://github.com/iethem/react-native-boilerplate-old

Last synced: about 1 month ago
JSON representation

boilerplate for react-native

Awesome Lists containing this project

README

        

# react-native-boilerplate

boilerplate code for react-native

---

This repo was cloned from the [react-boilerplate](https://github.com/react-boilerplate/react-boilerplate) project for learning. __This project is still under development.__

---

## Quick start

1. Make sure that you have Node.js v8.10, npm v5 and react-native-cli v2.0.1 or above installed.
2. Clone this repo using `git clone --depth=1 https://github.com/iethem/react-native-boilerplate `
3. Move to the appropriate directory: `cd `.

4. Run `npm install` in order to install dependencies.

5. Run `react-native eject` to create android and ios folders.
6. Run `react-native link` to link libraries.

Now you're ready to rumble!

> Please note that this boilerplate is **production-ready and not meant for beginners**! If you're just starting out with react or redux, please refer to https://github.com/petehunt/react-howto instead. If you want a solid, battle-tested base to build your next product upon and have some experience with react, this is the perfect start for you.

> This project uses __react-navigation__ for navigating between screens. The stack navigator can be found under the app/containers/App folder. For more information see https://reactnavigation.org/docs/en/hello-react-navigation.html

## Generators

```Shell
npm run generate
```

Allows you to auto-generate boilerplate code for common parts of your
application, specifically `component`s, and `container`s. You can
also run `npm run generate ` to skip the first selection. (e.g. `npm run generate container`)

## Documentation (for react-boilerplate)

> The documents mentioned here are taken from the __react-boilerplate__, but most of the information described applies to __react-native-boilerplate__.

- [**The Hitchhikers Guide to `react-boilerplate`**](docs/general/introduction.md): An introduction for newcomers to this boilerplate.
- [Overview](docs/general): A short overview of the included tools
- [**Commands**](docs/general/commands.md): Getting the most out of this boilerplate
- [Testing](docs/testing): How to work with the built-in test harness
- [Styling](docs/css): How to work with the CSS tooling
- [Your app](docs/js): Supercharging your app with Routing, Redux, simple
asynchronicity helpers, etc.
- [**Troubleshooting**](docs/general/gotchas.md): Solutions to common problems faced by developers.

## License

This project is licensed under the MIT license. For more information see `LICENSE.md`.