All Projects β†’ react-everywhere β†’ Re Start

react-everywhere / Re Start

Licence: mit
react-native template to target multiple platforms 🌐 πŸ“± πŸ’» with single codebase.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Re Start

Electron React Boilerplate
A Foundation for Scalable Cross-Platform Apps
Stars: ✭ 18,727 (+1372.25%)
Mutual labels:  starter-kit, cross-platform, boilerplate
Niklick
Rails Versioned API solution template for hipsters! (Ruby, Ruby on Rails, REST API, GraphQL, Docker, RSpec, Devise, Postgress DB)
Stars: ✭ 39 (-96.93%)
Mutual labels:  starter-kit, boilerplate
Reactjs Crud Boilerplate
Live Demo
Stars: ✭ 83 (-93.47%)
Mutual labels:  starter-kit, boilerplate
Go Restful Api
An idiomatic Go REST API starter kit (boilerplate) following SOLID principles and Clean Architecture
Stars: ✭ 1,043 (-18%)
Mutual labels:  starter-kit, boilerplate
Blazorboilerplate
Blazor Boilerplate / Starter Template with MatBlazor
Stars: ✭ 1,258 (-1.1%)
Mutual labels:  starter-kit, boilerplate
Disperse
React/Redux dApp (decentralized app) boilerplate using Ethereum's blockchain
Stars: ✭ 36 (-97.17%)
Mutual labels:  starter-kit, boilerplate
Webvr Webpack Boilerplate
A webvr multi-scenes Single-page application for three.js, webpack
Stars: ✭ 47 (-96.31%)
Mutual labels:  starter-kit, boilerplate
Hackathon Starter
A boilerplate for Node.js web applications
Stars: ✭ 32,485 (+2453.85%)
Mutual labels:  starter-kit, boilerplate
Fullstack Apollo Express Postgresql Boilerplate
πŸ’₯ A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
Stars: ✭ 1,079 (-15.17%)
Mutual labels:  starter-kit, boilerplate
Wertik Js
πŸ’ͺ A library that powers your app with GraphQL + Rest API
Stars: ✭ 56 (-95.6%)
Mutual labels:  starter-kit, boilerplate
Gorsk
πŸ”₯ Idiomatic Golang Restful Starter Kit
Stars: ✭ 1,108 (-12.89%)
Mutual labels:  starter-kit, boilerplate
Angular Full Stack
Angular Full Stack project built using Angular, Express, Mongoose and Node. Whole stack in TypeScript.
Stars: ✭ 1,261 (-0.86%)
Mutual labels:  starter-kit, boilerplate
Starter Nodejs Rest
DEPRECATED!! Starter for a Node.js REST Application using MongoDB and JSON Web Token
Stars: ✭ 29 (-97.72%)
Mutual labels:  starter-kit, boilerplate
Veluxi Starter
Veluxi Vue.js Starter Project with Nuxt JS and Vuetify
Stars: ✭ 39 (-96.93%)
Mutual labels:  starter-kit, boilerplate
Hot Loader Demo
React Hot Loader 3 minimal demo
Stars: ✭ 27 (-97.88%)
Mutual labels:  starter-kit, boilerplate
Vue Firebase Starter
boilerplate of vue/vuex/vue(x)-router, with sass/prerendering, muse-ui, and firebase/firebaseui
Stars: ✭ 43 (-96.62%)
Mutual labels:  starter-kit, boilerplate
Renative
πŸš€πŸš€πŸš€Build universal cross-platform apps with React Native. Includes latest iOS, tvOS, Android, Android TV, Android Wear, Web, Tizen TV, Tizen Watch, Tizen Mobile, LG webOS, macOS/OSX, Windows, KaiOS, FirefoxOS Firefox TV platforms
Stars: ✭ 1,199 (-5.74%)
Mutual labels:  starter-kit, cross-platform
Laravel6 Frontend Boilerplate
A Vue.js Frontend starter project kit template/boilerplate with Laravel 6 Backend API support.
Stars: ✭ 26 (-97.96%)
Mutual labels:  starter-kit, boilerplate
Fusell Seed
FUSE (the low-level interface) file system boilerplate πŸ“‚ πŸ”Œ πŸ’Ύ
Stars: ✭ 9 (-99.29%)
Mutual labels:  starter-kit, boilerplate
Webxr Webpack Boilerplate
Starter Kit for building rich, immersive WebXR projects (featuring A-Frame) PWA with Webpack and SASS
Stars: ✭ 48 (-96.23%)
Mutual labels:  starter-kit, boilerplate

re-start 🌐 πŸ“± πŸ’»

PRs Welcome

re-start

Aim of the project

  • Target multiple platforms (Android, iOS, Web, Windows[UWP] and Electron[macOS, Linux, Windows]) with react native' APIs and a single codebase.
  • Follow best practices while doing the above.
  • Cut out the time and effort it takes to setup the project (based on create-react-app).
  • Achieve write once run everywhere with react-native (though react strictly says 'Learn once use anywhere').
  • Mitigate git cloning or manual upgrading of boiler plates, which is possible because this project is a react-native template. πŸŽ‰

Structure of the project

  • This project comprises of several templates that are curated keeping in mind the various use cases of initiating a new project. Based on your requirements and preferences, you can choose a templates that suits your you case the best.
Template Name Description Version
re-base The most basic version that runs on all platforms npm version
re-dux re-base with redux wired out of the box npm version
re-route re-base with react-router wired out of the box npm version
re-start re-base combined with redux and react-router npm version

Usage

Pre-requisites

  • Node.js & npm
  • react-native CLI (npm install -g react-native-cli)

Install

  1. Create a new react-native project using react-native-cli and specify re-base as a template:
    react-native init <Your Project Name> --template re-base
    
  2. React Native don't support templates inheritance. If you want to use a derived template like re-dux or re-route, install them directly on top of the just created project. You'll probably get a warning about the project already exists, just say it yes to overwrite the needed files.
    react-native init <Your Project Name> --template re-dux
    react-native init <Your Project Name> --template re-route
    react-native init <Your Project Name> --template re-start
    
    re-start template depend of both re-route and re-dux, be sure to install them first in that order.
  3. Since react-native-template doesn't support adding custom scripts to package.json, exec ./finishInstall.js to finish the project configuration.
  4. Your project should now be ready to build apps for the different platforms.

Run the project on a specific platform

Android/iOS

npm/yarn run android
npm/yarn run ios

In case of problems, this tutorial will help you to configure your environment.

Desktop (Electron)

npm/yarn run electron

Web

npm/yarn run web

Windows

npm/yarn run windows

Windows platforms needs to have installed the Windows 10 SDK Build 14393 to be able to be build. A certificate is needed to sign the binary, follow the instructions to create or update the sign certificate. After that, a pop-up window would appear during the first time you exec the build process asking to install the certificate you've just created, just accept it.

Build for production

Android

npm/yarn run android:release

Electron

npm/yarn run electron:release

If you are running this on Linux or OSX, this will need you have wine 1.6 installed in your system because setting the Windows app icon makes usage internally of the node-rcedit package.

iOS

npm/yarn run ios:release

Web

npm/yarn run web:release

This will build your production ready bundle

Windows

npm/yarn run windows:release

Some very useful cross platform compatible libraries

Progress

  • [x] support for web (react-native-web_improved)
  • [x] support for Windows (react-native-windows)
  • [x] Support for electron
  • [x] Compatibility with React 16
  • [ ] Add Docs and FAQs
  • [ ] Configure Travis and Greenkeeper
  • [ ] Interactive CLI to create templates and components

Running demo on Web, Android, iOS, Windows(Universal) and Electron

Contributors

Thanks goes to these wonderful people (emoji key):


Amogh Banta

πŸ’» 🎨 πŸ“– πŸ› πŸ€” ⚠️

JesΓΊs LeganΓ©s-Combarro

πŸ’» πŸ€” πŸ› ⚠️ πŸ‘€ πŸ“–

Ankit Popli

πŸ‘€ πŸ€” πŸ›

Christopher Hein

πŸ“– πŸ›

DuncanMacWeb

πŸ’»

Full list of contributors can be found here.

Companies that contribute to re-start's development

LICENSE

MIT

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