Example single file Roda web app. There are extra files for launching the server, running tests, the license, etc, but the app itself is all in app.rb.
Find a file Use this template
2025-08-30 22:31:03 -05:00
.gitignore First draft of example single file roda app 2025-07-02 03:38:16 -05:00
app.rb More tests and better routes 2025-07-02 03:59:57 -05:00
app_test.rb Rename app_test.rb 2025-07-03 10:08:11 -05:00
config.ru First draft of example single file roda app 2025-07-02 03:38:16 -05:00
Gemfile First draft of example single file roda app 2025-07-02 03:38:16 -05:00
Gemfile.lock First draft of example single file roda app 2025-07-02 03:38:16 -05:00
LICENSE Initial commit 2025-07-02 03:27:00 -05:00
myapp.service Add usage comments to systemd unit file. 2025-07-02 04:12:16 -05:00
Rakefile Add Rakefile 2025-08-30 22:29:27 -05:00
README.md Update README.md 2025-08-30 22:31:03 -05:00

Roda step 1 - Single File app (sort of)

Example single file Roda web app. There are extra files for launching the server, running tests, the license, etc, but the app itself is all in app.rb.

Run tests with:

bundle exec rake test

Run the app with:

bundle exec puma