Skip to content

appdev-projects/sinatra-template

Repository files navigation

sinatra-template

Use this repository to create new Sinatra apps.

Optionally, to use ActiveRecord for database operations, add to the app.rb:

require "sinatra/activerecord"

And in the config/environment.rb file add this code block:

configure do
  # setup a database connection
  set(:database, { adapter: "sqlite3", database: "db/development.sqlite3" })
end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published