Link Search Menu Expand Document

Build your own app

Tips

Have a clear goal in mind!

Work on one part at a time (alternate between ui and server when needed) and see if the app runs before moving to the next section.

Drawing the app layout (see below) really helps with code organization and remembering what parts are important to you. This is a simple example, but with more complex apps, you could start adding more information to the drawing including, what the parts are called (e.g. corrplot in the example we will build today).

outline

Example app practice

goal image

See how this app has the same layout as the drawing above?

Go to the library GitHub to download:

  1. The Template script that we will work on together.

  2. The script that is filled out already. We are building to this end goal.

download

After building your app…

Don’t forget to test your app with the green run app button and publish the app with the blue publish button! Publishing takes a bit of time (~30 min) depending on the size of the app and the data set being uploaded along with the app build.

publish

Note. Posit hosts Shiny apps and that is where you will publish your app. You can make a Posit account or use your Google, GitHub, or Clever account. We recommend logging in with GitHub!

Posit also provides basic app analytics, so you can see how popular your app is.

app stats