Giter Club home page Giter Club logo

ico-list's Introduction

To see the app:

http://icolist-env.pms2mz993d.eu-central-1.elasticbeanstalk.com/

To run app locally:

In client:

  • yarn install
  • yarn start

In server:

  • yarn install
  • yarn server

open in http://localhost:8080/

How to test:

App has 4 tabs: Bitcoin, Litecoin, Ethereum and Results. On tabs Bitcoin, Litecoin, Ethereum you will find a bar chart and card with contribution information. On bar click information on the card will be updated. On the Results tab you will find a header with total amount for each cryptocurrency and slider. Also Results tab contains all contributions cards and it possible to filter by slider.

Technical thoughts:

I made feature folders structure for frontend. In case we want to add a new feature we just doing a new folder with this feature and adding own containers, components, actions, reducers and sagas in this folder. In common folder we store tools that can be shared between features. To reduce redux boilerplate I am using redux-actions. To work with side effects I’m using redux-saga because it easy to test and it works good with complex side effects. For building UI is used styled-components lib (I feel ok with css in js). For charts is used chart.js because in my opinion it's easy to use an it's a configurable.

For backend is used express as a framework because it easy to use and well known.

UI/UX:

Content of the app is written by containers and on every tab click we do request to update values. To reduce repeated containers code I made a container builder.

CI:

For CI I’m using travis. I check the test coverage and in case it’s ok travis build docker images and after it make a deploy to AWS Elastic Beanstalk. To check tests is used docker spec file. It easy to add pipelines for eslint if needed.

Dockerize and Deployment:

I have docker files for client, for server and for nginx. I dockerized all this to easy make deployment to AWS Elastic Beanstalk.

Testing:

For testing I’m using jest + 3rd party libraries for rendering and for testing redux-saga. Also I’m using snapshot testing.

ico-list's People

Contributors

danilaramaniuk avatar

Stargazers

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