项目作者: malaman

项目描述 :
Yet another weather application, based on Scala.js, scalajs-react and Playframework
高级语言: Scala
项目地址: git://github.com/malaman/scala-weather-app.git
创建时间: 2017-03-26T10:30:37Z
项目社区:https://github.com/malaman/scala-weather-app

开源协议:MIT License

下载


Introduction

Yet another weather application, based on Scala.js, scalajs-react and Playframework.

Features:

  • city search with autocomplete
  • weather forecast is displayed for a selected city
  • authentication via Github OAuth
  • saving city to favorites (for authenticated users)

Frontend

Tech stack:

JS packages

The project is using following JavaScript packages:

Full list of JS dependencies is in package.json.

Routing

scalajs-react router is used for SPA routing.

State Management

diode is used for managing application state.

XHR client

XHR client of scalajs.dom is used for XHR requests.
circe is used for JSON encoding/decoding

Bundler

Webpack is used to bundle Scala.js generated javascript and npm dependencies.
SCSS/Images are bundled via webpack as well.

API

Application backend is writted with following tech stack: