Files
WeatherTool/README.md
T

33 lines
580 B
Markdown
Raw Normal View History

2023-06-22 13:59:44 +03:00
# Weather Tool
Tool for downloading historical and real-time data from 33 weather stations in Latvia. It aggregates and displays data for different time periods, cities, and weather parameters.
2023-12-19 17:48:48 +02:00
## Setup
Rename `.env-sample` to `.env` and fill in credentials
2023-12-19 16:06:32 +02:00
## Run
```
docker-compose up node
docker-compose up scala
```
2023-12-19 17:48:48 +02:00
## Web
[http://0.0.0.0:9080/](http://0.0.0.0:9080/)
## Local development
2023-06-22 13:59:44 +03:00
```
2023-12-19 17:48:48 +02:00
// 1st terminal
sbt
2023-06-22 13:59:44 +03:00
2023-12-19 17:48:48 +02:00
// 2nd terminal
2023-06-22 13:59:44 +03:00
cd web/
npm run dev
```
2023-12-19 17:48:48 +02:00
## Backend Tech:
- scala: cats-effects, http4s, fs2, circe, scalatest
- postgres
2023-06-22 13:59:44 +03:00
2023-12-19 17:48:48 +02:00
## Frontend Tech:
2023-06-22 13:59:44 +03:00
- SolidJS
2023-12-19 17:48:48 +02:00
- Vite