Run app
cdinto the01_hello_world/dir:cd 01_hello_world/Fire up R:
RRestore package dependencies:
renv::restore()Once done, exit R.
index.Ris the entry point. To start the app, run this on the terminal:Rscript index.R
Explanation
This app starts a server and listens on port 3000 for connections.
It has 2 endpoints:
/: localhost:3000//about: localhost:3000/about
For every other path, it will response with a 404 Not Found.
Static files
Learn how to serve ✨Static Files✨ using ambiorix.