Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jakubsob/plants


https://github.com/jakubsob/plants

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# plants - 2021 Shiny Contest entry

Have ever wandered how you could make life of your plants better? If the answer is positive then this app is for you! It emerged from a simple idea: how can I make my plants feel more like at home?

The app allows you to browse for your plants and check weather in the places where they originate from. Now you can provide them conditions they would be subjected to just as if they were at home! You can learn about your plants along the way thanks to info tab powered by a database obtained from brilliant Trefle API, which is unfortunately no longer up.

The app is powered by shiny.react and shiny.fluent which allows to employ Microsoft Fluent UI.

The app is available at https://jakub-sobolewski.shinyapps.io/plants

## Interface

![home-view](./screenshots/home-view.png)

![info-view](./screenshots/info-view.png)

![map-view](./screenshots/map-view.png)

## Installation

The project uses `renv` for managing dependencies. In order to restore project's environment use:

```r
renv::restore()
```

and run the app with:

```r
shiny::runApp()
```

## Configuration

For testing purposes you can use `test` version of the app:

```r
Sys.setenv(R_CONFIG_ACTIVE = "test")
```

It reveals button that adds plants in order to speed up testing.

The app uses OpenWeatherMap. In order to be able to retrieve the data you need to have an API key. Store the key in `.Renviron` file or set for each session:

```r
Sys.setenv(OWM_API_KEY=)
```