{"id":14991250,"url":"https://github.com/zapnap/sinatra-template","last_synced_at":"2025-04-04T18:06:23.546Z","repository":{"id":487325,"uuid":"113393","full_name":"zapnap/sinatra-template","owner":"zapnap","description":"A base Sinatra application template with DataMapper, and RSpec. Just fork and build.","archived":false,"fork":false,"pushed_at":"2022-11-30T22:13:43.000Z","size":36,"stargazers_count":526,"open_issues_count":3,"forks_count":177,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T17:07:01.913Z","etag":null,"topics":["datamapper","rspec","sinatra","template"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zapnap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-01-23T19:05:49.000Z","updated_at":"2025-01-04T10:39:52.000Z","dependencies_parsed_at":"2023-01-11T15:27:00.041Z","dependency_job_id":null,"html_url":"https://github.com/zapnap/sinatra-template","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fsinatra-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fsinatra-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fsinatra-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fsinatra-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapnap","download_url":"https://codeload.github.com/zapnap/sinatra-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226213,"owners_count":20904465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datamapper","rspec","sinatra","template"],"created_at":"2024-09-24T14:21:59.166Z","updated_at":"2025-04-04T18:06:23.529Z","avatar_url":"https://github.com/zapnap.png","language":"Ruby","funding_links":[],"categories":["Boilerplate and Template"],"sub_categories":[],"readme":"# Sinatra Application Template\n\nA base Sinatra application template. Just fork and build. Yay!\nIncludes Bundler, DataMapper, and RSpec, all ready to go.\n\n## Configuration\n\nDependencies and all configuration is done in \u003ctt\u003eenvironment.rb\u003c/tt\u003e. Your\ndatabase is also set up here. DataMapper will use sqlite3 by default. Tests\nuse the sqlite3-memory adapter (no configuration needed).\n\nAdd your controller actions in \u003ctt\u003eapplication.rb\u003c/tt\u003e. Views for these actions\nare placed in the \u003ctt\u003eviews\u003c/tt\u003e directory. Static files, including a stock\nstylesheet, go in the \u003ctt\u003epublic\u003c/tt\u003e directory. Models go in the \u003ctt\u003elib\u003c/tt\u003e\ndirectory and are auto-loaded.\n\nEnvironment variables that you want to expose to your application can be added\nin \u003ctt\u003e.env\u003c/tt\u003e\n\n## Testing\n\nAdd your specs in \u003ctt\u003espec\u003c/tt\u003e; just require \u003ctt\u003espec_helper.rb\u003c/tt\u003e to\npre-configure the test environment. A number of samples are provided (including\na sample model, which can be removed). To run the specs:\n\n    bundle exec rake spec\n\n## Getting Started\n\n    bundle install\n    bundle exec foreman start\n\n## Extras\n\nWe've included a handy \u003ctt\u003econsole\u003c/tt\u003e script that fires up irb with your\nenvironment loaded. To load it, use the Rake task:\n\n    bundle exec rake console\n\n## Thanks\n\nThis project includes contributions from [several awesome developers](https://github.com/zapnap/sinatra-template/graphs/contributors).\n\n(c) 2015 Nick Plante. This code is distributed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fsinatra-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapnap%2Fsinatra-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fsinatra-template/lists"}