Udacity final project for React Native

Udacity final project for React Native

Udacity final project for React native. Project is to create a decks containing quizes. The user can then test themselves. In addition, they can schedule notifications reminding them to study. Utilizes React Native, expo, Redux, Async Storage and Notifications.

Udacity React Final Project

for React Native

Mobile FlashCards

Install / Run Process

You'll need a mobile emulator. For Android, that's either Android Studio or GenyMotion. I've used both and prefer GenyMotion, but it's about $150/year for a personal license.

From a command line terminal

1\. git clone <this repo>
2\. cd to the directory the app is in
3\. npm install
4\. npm start

Technology Used

React Redux [See this code example for model used] (https://codesandbox.io/s/todo-app-with-redux-forked-myztr) React Navigation Safe Area View - as recommended by React Navigation Redux and Async Logic

Directory Structure

/src - contains all the app code

/src/components - contains reusable components. CustomButton, Cards, ...

/src/features - organizes the pages by features, which are: decks, cards, quiz and notifications

/src/redux - contains all state management. Within this it's further divided into decks (src/redux/decks) and notifications (src/redux/notifications)

  • Othermiddleware used is Thunk /src/utils - the data primarily. Also includes the API for Async storage and the expo calls for removal of notifications.

Redux

The primary redux stores/actions/reducers are:

  • decks: The list of decks including the cards. The object has an "allIds" and a "byIds". The "allIds" contains an array of the deck ids. The "byIds" contains the full object details.
  • notifications: list of the notfications

The quiz execution is updated in the deck object properties.

AsyncStorage

This application in addition to using state uses Async storage. At application startup (in App.js) the decks and the notifications are loaded. The quiz statuses are not in Async storage.

Platforms Tested

This application has been tested for Android with GenyMotion

Updates

Converted CardAdd to a functional component

The application

Home - DeckList

View Deck

Add Card

Quiz

Notes

Sometimes with this code, there may have been an easier way, but the intent of this project was to utilize a broad range of coding in react native. For instance, the notifications state could have mimicked the decks state with it's allIds & byIds. That would have been the easy way. It was decided to utilize a different but legitimate method for a greater understanding.

To reset the async storage, go to App.js and uncomment: // store.dispatch(removeDecks); // Used to initialize storage // store.dispatch(removeAllNotifications); // Used to initialize storage

After opening the app and letting it run, then comment it again

Download Details:

Author: resmith

Source Code: https://github.com/resmith/udacity-reactNative_proj_mobile-flashcards

react mobile-apps react-native react native

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

React Native Mobile App Development

Skenix is providing React Native Development Services with qualified React Native App Developers. Get the best React Native App Development Services.

How React Native Is Shaping Mobile App Development

Are you a mobile app developer looking for more efficient tools for your projects? Mobile app development is getting tougher and tougher as the market continues to grow. As a developer, you need to develop Apps which meet the demands of your users. To achieve this, adopt the right tools, like the React Native development framework.

Top React Native Mobile App Development Companies in USA

Looking for top React Native mobile app development company in USA for Startups & Enterprise? Find out the top list of React Native mobile app development company in USA.

Which is the best React Native app development company in New York?

Hire top react native app development company in New York to build and develop custom react native mobile apps for Android & iOS with the latest features.