GithubHelp home page GithubHelp logo

zengo-eth / ethereum-wallet-management-fe-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from giorgio85/ethereum-wallet-management-fe-test

0.0 0.0 0.0 375 KB

React application that allows a user to manage his Ethereum addresses.

JavaScript 83.04% HTML 6.18% SCSS 10.78%

ethereum-wallet-management-fe-test's Introduction

Ethereum addresses management and transaction simulation application

To run the Project

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

To run the Tests

npm run test

Runs application tests in console mode.

Code Decisions

  • I separated the app in Components, Pages, Services and Utils, so it's structured in a way that we should know where to find if we are looking to something specific
  • I used Hooks because I prefere them to classes
  • Unless I use to work with axios, I used fetch to call the API because it's just 1 GET call
  • I used Bootstrap to manage easely the structure and avoid to have a lot of CSS
  • Each screen has his own .scss file. Common styles are in the common.scss

Tests

  • I added the test divided in 4 categories

Extra Features

  • I used the API suggested, but as the API returns the result in wei -> 10^18 wei = 1 ETH, I did the conversion but the result was ugly, so finally I used a random to show the balance
  • I added the feature to copy the addresses because I found it useful, it also helped me a lot while testing
  • I added a button to go back to 'My Ethereum addresses' page so we can check that the form worked properly

Git Issue

  • I use to work creating a branch for each feature but I didn't have time. I just created one branch for this update of the README just to show how I use to work.

ethereum-wallet-management-fe-test's People

Contributors

giorgio85 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.