GithubHelp home page GithubHelp logo

r-shiny-module's Introduction

Thank you for giving me this challenge, it was a great challenge and i was able to learn a lot in such a short time.

Code is been pushed to the main branch and data is stored in Postgresql deployed in heroku, below are the credentials,

Host - ec2-3-232-22-121.compute-1.amazonaws.com Database - d5vagge42r7rek User - asuweqjvaxgoka Port - 5432 Password - ********** URI - postgres://asuweqjvaxgoka:******@ec2-3-232-22-121.compute-1.amazonaws.com:5432/d5vagge42r7rek

I was able to complete the below 4 tasks

  1. Create a PostgreSQL project with the farm.csv database.
  2. Create a simple shiny app in R and connect your app with the PostgreSQL file you created previously, the app can have any functionality you like but at minimum one plot.
  3. Show the PostgreSQL table content in a dynamic table inside the shiny app (please see here for examples, you can select any template you like (1)[https://shiny.rstudio.com/gallery/].
  4. You can create a new repo or a branch here to push your final codes.

(created the simple rest api in the api.R file but was facing some issue in reading the output data on the client end)

  1. Once you have the SQL connected to the app we want to have a RESP API ready to send and receive information through the shiny app. Please make it public. This item is open if you have other ideas please feel free, we just need to be able to connect to another API end to send and receive requests.

(Built the image successfully but issue in accesing the shiny app host url due to my macbook - linux/arm compatibility issue)

  1. Once you have that deploy the shiny app in Docker container, you can be as creative as you want if you think adding scalability would be a good idea go for it. Here is the short cut that you can use https://www.rocker-project.org/.

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.