Skip to content

Rick And Morty App - type script -graph ql-unit test

Notifications You must be signed in to change notification settings

hagar0459/RickAndMortyApp

Repository files navigation

Rick and Morty React Native

Solution For Rick And Morty with React NATIVE -typescript- graphql- unit testing

Table of Contents

General Information

First Screen, Character list page:

  • Create a screen that contains a list of Rick and Morty characters.
  • Every item in the list should show only the ​name​ and the ​picture​ of the character.
  • Implement pagination, the list should show more items when the user scrolls down.
  • Add search functionality which users can filter the characters' names. Search area should be placed at the top. The result should change on the fly while the user is typing. Second Screen, Character details page:
  • Create a second screen that contains a character's details. The App should navigate to this screen when the user selects a character from the first screen.
  • Screen characters details should show the ​name​, ​picture​, ​species​, ​gender and the ​list of episodes​. An episode item contains the ​name​ and ​air date​.

Technologies Used

  • TypeScript.
  • GraphQL (Apollo client).
  • React navigation 5.
  • Hooks.
  • Unit testing .

Screenshots

First Screen Second Screen

Setup

1-clone code 2-yarn install 3-react-native link 4-cd ios/pod install 5-run the code 6-npm test to run test cases

Room for Improvement

To do:

  • Recheck the preformance
  • complete test cases to coverage 100% of code
  • solve the issue for fetch more
  • adding some extra scope and update design

Contact

Created by Hagar Abdelghafar

About

Rick And Morty App - type script -graph ql-unit test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published