Giter VIP home page Giter VIP logo

coding-challenge-backbase-frontend-2017's Introduction

euro-weather

Architecture overview

I think I followed a pretty standard architecture for a small angular project. If the application was bigger I would have created a different file for each module instead of putting everything in main.js. Currently the only module is euroWeather.

There are two main components, <city-list> and <city-detail>, which do most of the UI work. The logic to retrieve information from the API is centralized in WeatherService.js.

I chose to use plain ol' CSS instead of SASS because the style for the application is in reality very simple and it did not feel like a good tradeoff.

How to build the project

After cloning the repo, cd into it and run npm install and then npm run build. A dist directory should appear if everything went well. Then you can open dist/index.html to look at the project in action.

Configuration

In the file config.json you will find basic configuration for the application so it's very easy to update the settings without having to look for them in the code.

Possible improvements

If I could spend more time on this project, I would...

  • Add a linter (like jshint)
  • Add a formatter (like js-beautify)
  • Add a bunch of tests
  • Improve the chart (it's not very pretty...)

coding-challenge-backbase-frontend-2017's People

Stargazers

 avatar

Watchers

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