Giter Site home page Giter Site logo

jetpack3331 / bitnation-pangea-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bit-nation/bitnation-pangea-react

0.0 2.0 0.0 3.85 MB

Pangea Jurisdiction Alpha client v. 03 frontend repository

License: MIT License

JavaScript 93.77% HTML 5.09% CSS 1.14%

bitnation-pangea-react's Introduction

Bitnation Pangea

This is the repository for the Pangea Jurisdiction frontend.

Table of Contents

Building

We use docker for development, so make sure that you get the latest version (should be at least 17.04).

Setup instructions:

  1. Clone the repository
  2. Run docker-compose up -dto build and start all the containers (wil take a few minutes).
  3. Run docker-compose exec pangea bash to enter into the "pangea" container (it's the container where node is running).
  4. Run npm install to get all the dependencies.
  5. Run npm run start-native and wait 2 - 4 minutes. A QR-Code should be printed.
  6. Now you just need to scan the QR-Code using the Expo app while connected in the same network as your computer.

Tips and tricks

  • Stop the containers docker-compose stop
  • Destroy the containers docker-compose down

Testing

You can test the mobile app without cloning the repo and/or building the app yourself. You can just download the Expo app to your phone: https://expo.io/

Then go to this page and scan the QR-Code using the Expo app.

Easy as that, now you can test the app on your phone.

Commands

start-native: Start mobile app

ios: Run app on IOS simulator

android: Run app on Android simulator

eject-native: Eject Native project

test: Run mobile app tests

start: Start webserver

build: Build and watch app

test-web: Run web app tests

eject: Eject project

Folder structure

The folder structure is as follwoing:

  • src
    • actions: The action creators
    • components: Stateless functional components, only UI logic
    • containers: React Components including business logic
    • images: Icons/images
    • reducers: Reducers Redux functions
    • services: API wrappers
    • styles: css and js stylesheets

Development Guidelines

We are following the Airbnb Guidelines

There is already a .eslint.json file containing the specifications, you just need to integrate it on your favorite editor.

bitnation-pangea-react's People

Contributors

xsttx avatar jetpack3331 avatar romanantl-flexiana avatar florianlenz avatar

Watchers

James Cloos 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.