Skip to content

A simple project to show user details on GitHub using React Native.

License

Notifications You must be signed in to change notification settings

matheusleandroo/react-native-github-users

Repository files navigation

React Native GitHub Users

A simple project to show user details on GitHub using React Native.

Main Profile and Stars React Native: WebView

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 "React Native: GitHub Users". 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 "React Native: GitHub Users".

If you are using Windows:

If you are using macOS:

If you are using Linux distributions:

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.

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

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.

Now you can use "React Native: GitHub Users".

Built With

  • React Native
  • React Native Async Storage
  • Axios
  • PropTypes
  • Vector Icons
  • WebView
  • 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 show user details on GitHub using React Native.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published