Skip to content

Nuwe CaixaBankTech React Cross-Platform Challenge πŸš€

License

Notifications You must be signed in to change notification settings

pyrenaicus/neobanks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Nuwe CaixaBankTech React Cross-Platform Challenge

This is my response to the Nuwe & CaixaBank Tech challenge. The objective is to build a mobile & web cross platform in React, following the design given in Figma

figma design

We should build the components for a mobile web app and for a dashboard. So far I've been able to build the web app using ReactJS, Typescript, and Recharts, a React composable charting library for the graphics.

Installation

Clone this repo, cd into newly created dir and install dependencies

git clone git@github.com:pyrenaicus/neobanks.git
cd neobanks
yarn

If you want to follow all the steps to build it from scratch, do:

  1. Create a React app with Typescript template:
npx create-react-app neobanks --template typescript
  1. Install Recharts library:
yarn add recharts
  1. You will need as well to install react-icons
yarn add react-icons

Result

You can see a live demo here: neobank.surge.sh

my result

To build the app I followed an Atomic design methodology. Using this approach allows us to break our components into smaller units that can be developed and tested in isolation, and it helps to keep our directories in order as things scale up.

β”œβ”€β”€ components
β”‚Β Β  β”œβ”€β”€ atoms
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ IconBarchart.tsx
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ IconBattery.tsx
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ IconCompass.tsx
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ IconSignal.tsx
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ IconUser.tsx
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ IconWifi.tsx
β”‚Β Β  β”‚Β Β  └── Time.tsx
β”‚Β Β  β”œβ”€β”€ molecules
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ AppHeader.tsx
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ PhoneStatus.tsx
β”‚Β Β  β”‚Β Β  └── PhoneVitals.tsx
β”‚Β Β  └── organisms
β”‚Β Β      β”œβ”€β”€ InfoBox.tsx
β”‚Β Β      β”œβ”€β”€ MainSection.tsx
β”‚Β Β      β”œβ”€β”€ MenuBar.tsx
β”‚Β Β      β”œβ”€β”€ SectionHeader.tsx
β”‚Β Β      β”œβ”€β”€ TransactionsGraphic.tsx
β”‚Β Β      └── TransactionsInfo.tsx

Roughly, the app is composed by a series of components, a PhoneStatus on top showing on one side current time, and on the other a series of phone vitals, Time and PhoneVitals components.

Below PhoneStatus is an AppHeadercomponent, and in the bottom we find the MenuBar component.

In between them we find the MainSection component, it holds what we could say all the data-driven components of the app.

Right now is a mockup, and we are passing hardcoded data by props to the components.

A SectionHeader component showing a headline and a subheadline.

Below it a TransactionsInfo component, holding two InfoBox components.

And right below it, TransactionsGraphic, the largest component, holding a line chart built with Recharts and showing a view of transactions over time, with tabbed views.

dummy box

Stack used

Author

Pau Guerrero

License

This project is licensed under the MIT License

About

Nuwe CaixaBankTech React Cross-Platform Challenge πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published