Skip to content

spucman/sinatra-dashboard

Repository files navigation

Sinatra Dashboard

This project intents to be a playground for building a web app with sinatra.

Usage

To run the app you need either ruby (v 3.1) or docker installed.

If you want to run the app with docker you can use the following command:

docker build -t sin:test . && docker run -p 9393:9393 -p 9292:9292 sin:test

Then you will have:

  • prometheus metrics exposed on port 9393
  • app exposed on port 9292

For running it directly you can either use make or bundler directly:

# For using make
make install
make run

# For using bundler
bundler install
bundler exec puma -C config/puma.rb

Users

With in that app bundle there are three users predefined:

User Password Role
[email protected] [email protected] Admin
[email protected] [email protected] User
[email protected] [email protected] Report

You can search for each of those users within the app.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published