Skip to content

Updated README.md file with more information and corrected grammatical mistakes and typos. #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ All the code is contained in the `src` directory, especially the 3 main entry fi

### Flux architecture actions/stores

All the [flux](https://facebook.github.io/flux) architecture is share to 100% to all the different builds. This means that all the logic and data management code is done only once and reuse everywhere. This allows us to have an easy tests suite as well and to ensure that our code is working properly on all the devices.
All the [flux](https://facebook.github.io/flux) architecture is share to 100% to all the different builds. This means that all the logic and data management code is done only once and reused everywhere.
This not only allows us to have an easy tests suite but also ensure that our code is working properly on all devices.

### Components

The real interest of the project is in how the components have been structured to shared most of their logic and only redefined what is specific to every device.
The real interest of the project is in how the components have been structured to share most of their logic and only redefine what is specific to every device.

Basically, every component has a main `Class` which inherits a base `Class` containing all the logic. Then, the main component import a different Render function which has been selected during the build. The file extension `.ios.js`, `.android.js` or `.js` is used by the build tool to import only the right file.
Basically, every component has a main `Class` which inherits a base `Class` containing all the logic. Then, the main component imports a different Render function which has been selected during the build. The file extension `.ios.js`, `.android.js` or `.js` is used by the build tool to import only the right file.

The `.native.js` files contain code that is shared between both mobile platforms (iOS & Android). Currently, the `.ios.js` and `.android.js` files compose this `.native.js` file since all code is shared right now. However, if a component needed to be different for platform specific reasons, that code would be included in the corresponding platform specific files.

Expand Down Expand Up @@ -93,10 +94,14 @@ Here are some thoughts about what can come next:

## Thank you Robert for your awesome design

I want to thank Robert O'Dowd who kindly authorized me the reuse his very beautiful design. The original design made by Robert was part of his project called "Simplifycation" visible [here](https://dribbble.com/shots/1973851-Simplifycation).
I want to thank Robert O'Dowd who kindly authorized me to reuse his very beautiful design. The original design made by Robert was part of his project called "Simplifycation" visible [here](https://dribbble.com/shots/1973851-Simplifycation).

# How to build/run the projects

For ReactJS:
- `npm run build` to build the project.
- `npm run start` to run the project.

## General requirements before running any specific project

- `npm install` to install all the dependencies, React and React Native among others.
Expand Down Expand Up @@ -127,6 +132,10 @@ Some builds from npm included bugs while `npm install`. So if you are using a np

### Running the Mobile Apps

For setup and complete installtion guide visit : https://shift.infinite.red/getting-started-with-react-native-development-on-windows-90d85a72ae65
For react-native:
- `react-native run-android` to start your application.

#### iOS

- Open iosApp.xcodeproj and hit run in Xcode.
Expand Down