Skip to content

Calculator Test for interview (incomplete version).

Notifications You must be signed in to change notification settings

rep-ai/Calculator-Test

Repository files navigation

Calculator

Getting Started:

  1. Go through "Building Projects with Native Code" for your specific platform: React Native: "Getting Started"
  2. Clone the repo: git clone https://github.com/rep-ai/Calculator-Test.git
  3. Install the packages: npm install or yarn install
  4. Start React Native: react-native run-ios or react-native run-android

Making a calculator!

Add the "Clear" button and it's functionality. It should reset the calculator.

Frameworks

  1. React Native
  2. Redux
  3. Flow
  4. Babel

Import Structure

index
App
    │─ store
    │    └ reducer
    │       │─ flowTypes
    │       └     actionTypes
    └     Calculator (index)
            │─ flowTypes
            │─ actions
            │    │─ flowTypes
            │    └     actionTypes
            └     Calculator (Component)
                    │─ styles
                    │─ QuestionComponent
                    │    └ styles
                    │─ AnswerComponent
                    │    └ styles
                    └     ButtonComponent
                            └ styles

Folder Structure

index
App
./src
│─ store
│─ reducer
│─ actions
│─ actionTypes
│─ flowTypes
│─ styles
│─ ButtonComponent
│─ AnswerComponent
│─ QuestionComponent
│─ Calculator
└     index

Example

Example

Animated Example

AnimatedExample

About

Calculator Test for interview (incomplete version).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published