https://github.com/iethem/react-native-games
react-native-boilerplate example
https://github.com/iethem/react-native-games
games login rawg-api react react-native react-native-boilerplate react-native-games
Last synced: 2 months ago
JSON representation
react-native-boilerplate example
- Host: GitHub
- URL: https://github.com/iethem/react-native-games
- Owner: iethem
- License: mit
- Created: 2021-04-12T19:32:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-12T19:34:39.000Z (about 5 years ago)
- Last Synced: 2025-03-28T01:56:38.488Z (over 1 year ago)
- Topics: games, login, rawg-api, react, react-native, react-native-boilerplate, react-native-games
- Language: JavaScript
- Homepage: https://github.com/iethem/react-native-boilerplate
- Size: 4.24 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# react-native-games
[](https://github.com/iethem/react-native-boilerplate)
---
In this project, I used some styling and components used on the [calebnance/expo-disneyplus](https://github.com/calebnance/expo-disneyplus) project. I removed everything related to expo. Also, I implemented login/registration features to demonstrate redux-saga and navigation stuff. Instead of movies, I used games. I am still working on some features like adding accounts, improving API usage, removing unnecessary files, useful theming, etc.
Clone this repo using the following command:
```command
git clone https://github.com/iethem/react-native-games.git
```
Move to the appropriate directory:
```command
cd react-native-games
```
Run `npm install` in order to install dependencies.
```command
npm i
```
For IOS:
```command
npx pod-install
npm run ios
```
For Android:
```command
npm run android
```
Start the server:
```command
npm start
```
## TODO
- [ ] Add or remove games on favorites using Async Storage (because I used Async Storage to hold user data)
- [ ] Change static text messages to i18n messages
- [ ] Remember me
- [ ] Add or remove accounts
- [ ] Remove unused files (like some redux-saga stuff)
- [ ] Fix account screen (some menus are not working properly)
## Notes
If you like this project please check the [react-native-boilerplate](https://github.com/iethem/react-native-boilerplate) project I used for this.
__Login/Registration:__ Uses Async Storage to simulate login/registration stuff. See `LoginScreen/RegisterScreen's saga.js` and `utils/userStorage.js`.
__Games:__ The application fetches games using [rawg.io API](https://rawg.io/apidocs).
__i18n:__ The project has i18n normally but static texts were not converted as i18n messages.
> Use `npm run generate` to create components/containers/languages.
## Contributions
Contributions of any kind welcome!
## Notice
I intend no copyright infringement. Please let me know if I have added something of yours & you'd like it removed.