Skip to content

iethem/react-native-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-games

made with react-native-boilerplate

Login Screen Register Screen Home Screen Game Details Screen ame Details Screen 2 Search Screen Favorites Screen Profile Screen


In this project, I used some styling and components used on the 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:

git clone https://github.com/iethem/react-native-games.git

Move to the appropriate directory:

cd react-native-games

Run npm install in order to install dependencies.

npm i

For IOS:

npx pod-install
npm run ios

For Android:

npm run android

Start the server:

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 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.

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.