Coder Social home page Coder Social logo

fa5tkill3r / dychaj-bratislava Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 368 KB

Bakalarska praca

Home Page: https://air.masmute.net

C# 63.86% Batchfile 0.33% JavaScript 3.23% HTML 0.17% Vue 32.16% SCSS 0.11% Dockerfile 0.14%
airpollution asp-net-core csharp efcore humidity pm10 pm25 pressure temperature vue3

dychaj-bratislava's Introduction

Breathe Bratislava

API

To setup API, you need to create appsettings.json file in BP.Configuration project. You can use appsettings.example.json as a template.

Example is made for PostgreSQL database that is prepared in docker-compose file.

Frontend

To setup frontend, you need to create .env file in BP.Frontend project. You can use .env.example as a template.

Its recommended to use pnpm as a package manager. You can install it with npm install -g pnpm.

To install dependencies, run pnpm install in ./frontend folder.

To run frontend, run pnpm run dev in ./frontend folder.

Discoveries

SHMU

Endpoint for getting air quality data from SHMU API. (Reverse engineered) https://www.shmu.sk/api/v1/airquality/

Known query parameters:

  • station_meta - 1/0 - if 1, then return station metadata
  • station - station id
  • history - how many hours back to get data

Example:

Thanks stockio.com for lung icon: https://www.stockio.com/free-icon/healthy-icons-lungs

dychaj-bratislava's People

Contributors

fa5tkill3r avatar

Watchers

 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.