Skip to content

Instantly share code, notes, and snippets.

@ivportilla
Last active April 29, 2018 04:13
Show Gist options
  • Save ivportilla/da49670fba1797e7a60444a712f148b9 to your computer and use it in GitHub Desktop.
Save ivportilla/da49670fba1797e7a60444a712f148b9 to your computer and use it in GitHub Desktop.

Mobi App

Mobile Application that allows you to handle your car expenses. This application is made with React Native.

Tools used in this project

Pending tools:

  • React Native routing solution
  • Application intro
  • Redux
  • Push notifications system

Getting started

  1. Fork this repository.
  2. Clone your repository [email protected]:YOUR_GITHUB_USER/mobi-app.git.
  3. Change the current directory to the project cd mobi-app.
  4. Install the project dependencies npm install.
  5. Make sure you have correctly installed React Native and the Android/iOS environment following the React Native official guide.
  6. Start the server react-native start
  7. Inside another terminal run the application in debug mode react-native run-android for Android, in case you are running the project for iOS run react-native run-ios.

Workflow

We use airbnb-javascript as JavaScript code style guide.

For code contributions:

  1. Fork this repository.
  2. Clone your forked repository [email protected]:YOUR_GITHUB_USER/mobi-app.git.
  3. We use git-flow and we highly recommend you to install and use it to make the workflow easier.
  4. Create a branch for the feature you will work in. If you have installed git-flow you can use the command git flow feature start your-feature-name.
  5. Upload the feature branch to your forked repository. If you have installed git-flow you can use the command git flow feature publish your-feature-name.
  6. Send a pull request to develop with your branch name. (If you does not know how to send a pull request, please read this).

Guidelines:

  • If your code will perform asynchronous operations it must use async/await
  • Every bug should be registered as an issue
  • Your code should be almost entirely written in english
  • Your code should follow the airbnb-javascript style guide
  • Your commits should be written in english, they must be descriptive and minimalist
  • You should try to use testing in your code, but this is not required

Note: Your code could be rejected by breaking the above rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment