Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nemethricsi/react-native-swapi

homework
https://github.com/nemethricsi/react-native-swapi

Last synced: 5 days ago
JSON representation

homework

Awesome Lists containing this project

README

        

# Medalyst React Native Homework 👋

This is an [Expo](https://expo.dev) project created with [`create-expo-app`](https://www.npmjs.com/package/create-expo-app).

## Get started

1. Install dependencies

```bash
npm install
```

2. Start the app

```bash
npx expo start
```

3. Open QR code with Expo Go:

[Expo Go](https://expo.dev/go), a limited sandbox for trying out app development with Expo

## Design steps

- React Native application was created based on [official documentation](https://reactnative.dev/docs/environment-setup).
- API integration was added with Typescrcipt based on [SWAPI docs](https://swapi.dev/documentation#people).
- Test cases were added using `@testing-library/react-native` because `react-test-renderer` is [deprecated](https://react.dev/blog/2024/04/25/react-19-upgrade-guide#deprecated-react-test-renderer).
- The app is using a custom hook (`useSearch`) to leverage the search functionality.
- Next steps could be a _new stack screen_ to display the details of the characters.

## Demo

https://github.com/user-attachments/assets/d35c4f61-688e-4676-b3d9-856fc1c9667e