Git Product home page Git Product logo

reactxp-shop's Introduction

Cross-platform shop (Web, iOs, Android) using ReactXP

CAUTION: This is an experimental code. Now it isn't stable, isn't production ready and sometimes is ugly

Concept "Write once, render anywhere"

  • Render on platforms
    • WEB (React)
    • Mobile: OS, Android (React Native)
    • Desktop: Windows, MacOS, Linux (React + Electron)
  • UI
    • common Universal components
    • and platform-specific where you want
      • navigation: drawer, tabs
      • UI: buttons, tabs, switches ...
    • adaptive for devices: phones | tablets | desktop
    • adaptive for width and rotation changes
  • platform-spicific navigation
    • WEB - react-router
    • Mobile - react-navigation
  • WEB
    • Server side rendering support
  • Tools
    • IntelliSense due to TypeScript typings
    • Hot reloading

Smells like future front-end!

IMAGE ALT TEXT HERE

Current tech stack

Front-end

Back-end

How to install

The commands in the instructions below assume you are in the root of this repo.

Initial Setup

  • run yarn. This fetches the dependencies

Building for Web

  • run yarn run web-watch. This compiles the TypeScript code and recompiles it whenever any files are changed
  • open index.html in your browser to view the result

Building for React Native

  • if you work with React Native for first time - try "Building Projects with Native Code" from Rect Native Getting Started docs to configure iOS / Android enviroments
  • run yarn run rn-watch. This compiles the TypeScript code and recompiles it whenever any files are changed.
  • in another command prompt run yarn start. This starts the React Native Packager
  • build and run project
    • for iOS run react-native run-ios
    • for Android run react-native run-android

Help wanted! https://github.com/react-cross-platform/reactxp-shop/issues

reactxp-shop's People

Contributors

artemserga avatar vitalikparshin avatar

Watchers

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