Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/indoorvivants/uk-mortgage-demonstrator

Scala.js application to interactively explore the depressing world of UK mortgage rates
https://github.com/indoorvivants/uk-mortgage-demonstrator

chartjs laminar scala scalajs ui5-webcomponents vite

Last synced: 1 day ago
JSON representation

Scala.js application to interactively explore the depressing world of UK mortgage rates

Awesome Lists containing this project

README

        

# UK Mortgage demonstrator

This is a very simple browser application to help me and my friends
sink deeper into the unsettling reality of UK mortgage market.

[**🎸Live version**](https://indoorvivants.github.io/uk-mortgage-demonstrator/)

![2023-07-11 18 47 16](https://github.com/indoorvivants/uk-mortgage-demonstrator/assets/1052965/407df91b-3d07-4ddc-85ad-676266afd8bb)

- [UK Mortgage demonstrator](#uk-mortgage-demonstrator)
- [Built with](#built-with)
- [Development](#development)

## Built with

- [Scala 3](https://docs.scala-lang.org/tour/tour-of-scala.html)
- [Scala.js](https://scala-js.org) - Scala-to-JavaScript compiler
- [Laminar](https://laminar.dev/) - Scala.js-native UI library
- [UI5 Webcomponents](https://github.com/sherpal/LaminarSAPUI5Bindings) bindings
- [Vite](https://vitejs.dev/) for fast iteration and bundling
- [Chart.js](https://www.chartjs.org/) for charts

## Development

To build this application, you need to have installed:

1. [NPM](https://www.npmjs.com/)
2. [SBT](https://www.scala-sbt.org/download.html)

In one terminal run:

```
npm install
npm run dev
```

and open http://localhost:5173

In another, run:

```
sbt ~fastLinkJS
```

This way you should have fast feedback when changing code and see the results reflected in the browser.

## Bundling for deployment

Run

```
npm run build
```