GithubHelp home page GithubHelp logo

github-search-react-native-ts's Introduction

Challenge: App to search on GitHub

Não fala inglês? Clique aqui para ver essa página em português.

Objective of the challenge: Implement a search page that brings user data from GitHub and when clicking on the photo returns more details and a list of your repositories, where when tapping on one of them you should be directed to the repository on the GitHub website . Also display a menu with the history of searched users.

Preview

Preview

Attention point

To prevent the GitHub API from being requested for each piece of information entered in the search input, the React Query library was used together with Zustand and Async Storage, to fetch previously searched data from the application cache, improving performance.

Tools used

Why the tools?

  • Performance: the marriage of React Query + Zustand allows for a more performative use of the application since with React Query it is possible to have more flexible management of server states when dealing with the API, using so the device cache for recent searches and Zustand for data persistence in Async Storage.
  • Customizable styling: Styled Components allows you to write CSS styles inside JavaScript, turning them into components and improving code architecture and maintenance.
  • API consumption: with axios we make HTTP requests in applications web, offering advanced features for efficient communication with servers.

How to execute?

You need to have the data manager packages/dependencies yarn in your machine and a device emulator (Android or iOS) or scan the QR Code generated on your cell phone with the Expo GO app

git clone https://github.com/bernard-silva/github-search-react-native-ts.git && cd github-search-react-native-ts
  • Navigate to the project root
  • Install dependencies with yarn install
  • Run the project with yarn start
  • Open the emulator by typing the letter a or scanning through the Expo GO app

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.