Skip to content

matheusleandroo/gobarber-mobile

Repository files navigation

RocketShoes

GoBarber Mobile

A simple project to barber shop manager.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Prerequisites

NodeJS

You need to install NodeJS on your computer before you can use "GoBarber Mobile". You can install NodeJS by following these instructions.

Once you have completed the installation process, try typing npm -v into your command line. You should get a response with the version of NodeJS.

Yarn

Once you have NodeJs instaled, you need to install Yarn. You can install Yarn by following these instructions.

After instalition, try typing yarn -v into your command line. You should get a response with the version of Yarn.

React Native environment

You need to configure React Native environment on your computer before you can use "GoBarber Mobile".

If you are using Windows:

If you are using macOS:

If you are using Linux distributions:

API

You must have the GoBarber API.

Deploy

After clone repository, go to folder and follow this steps:

macOS

  • Run yarn to install dependencies;
  • Run cd ios and pod install;
  • Run cd .. and react-native run-ios to start de aplication.

To run Android App, open the simulator (Android Studio or Genymotion) and run react-native run-android.

Windows or Linux distributions

  • Run yarn to install dependencies;
  • Open the simulator and run react-native run-android to start de aplication.

If the application do not start, run react-native start.

Possible errors:

  • No bundle URL present: run rm -rf ios/build/; kill $(lsof -t -i:8081); react-native run-ios
  • spawnSync ./gradlew EACCES: run chmod 755 android/gradlew

Now you can use "GoBarber Mobile".

Built With

  • React Native
  • Redux
  • Redux Saga
  • Axios
  • PropTypes
  • Vector Icons
  • Styled Components
  • ESLint + Prettier + EditorConfig

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Based on Rocketseat Bootcamp 🚀

About

A simple project to barber shop manager.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published