hemo

A Hanami demo application.

https://github.com/bkuhlmann/hemo

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary

Keywords

hanami ruby
Last synced: 4 months ago · JSON representation ·

Repository

A Hanami demo application.

Basic Info
Statistics
  • Stars: 24
  • Watchers: 4
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Topics
hanami ruby
Created almost 3 years ago · Last pushed 4 months ago
Metadata Files
Readme Funding License Citation

README.adoc

:toc: macro
:toclevels: 5
:figure-caption!:

:guard_link: link:https://github.com/guard/guard[Guard]
:hanami_link: link:https://hanamirb.org[Hanami]
:hanamismith_link: link:https://alchemists.io/projects/hanamismith[Hanamismith]
:htmx_link: link:https://htmx.org[htmx]
:overmind_link: link:https://github.com/DarthSim/overmind[Overmind]
:postgres_link: link:https://www.postgresql.org[PostgreSQL]

= Hemo

image:https://dl.circleci.com/status-badge/img/gh/bkuhlmann/hemo/tree/main.svg?style=svg["CircleCI", link="https://dl.circleci.com/status-badge/redirect/gh/bkuhlmann/hemo/tree/main"]
image:https://github.com/bkuhlmann/hemo/actions/workflows/ci.yml/badge.svg[GitHub Actions, link="https://github.com/bkuhlmann/hemo/actions"]

Hemo is a portmanteau (i.e. `[H]anami + D[emo] = Hemo`) which is designed to provide a fully working demo {hanami_link} application as built by the {hanamismith_link} gem.

⚠️ This application is meant for _demonstration purposes only_ which means all commits are heavily link:https://alchemists.io/articles/git_rebase[rebased] as new functionality is implemented. You can _definitely_ clone this project -- and is encouraged -- but I wouldn't recommend forking this project because the SHAs will be constantly changing since each commit is meant to tell a story so people can learn how this application was architected. If you do clone (or download) a copy of this application, please note you'll have to re-clone/download with any new changes pushed to this repository.

toc::[]

== Features

* Uses {hanamismith_link} for building the initial project skeleton and application architecture.
* Uses modern {hanami_link} (backend) and {htmx_link} (frontend) technology to rapidly develop full featured web applications.
* Uses modern CSS for stylesheets.
* Provides a simple task management system for demonstration purposes where you can view, create, edit, update, and destroy tasks.

== Screencasts

See link:https://alchemists.io/projects/hanamismith/#_screenshotsscreencasts[Hanamismith] for details.

== Requirements

. link:https://www.ruby-lang.org[Ruby].
. {postgres_link}.
. {overmind_link} (optional but recommended).

== Setup

To set up the project, run:

[source,bash]
----
git clone https://github.com/bkuhlmann/hemo
cd hemo
bin/setup
----

== Usage

For access to the console, run:

[source,bash]
----
bin/console
----

To view all Rake tasks, run:

[source,bash]
----
rake -T
----

To view all Hanami CLI or CLI subcommand options, run:

[source,bash]
----
bin/hanami -h
bin/hanami db -h
----

To develop -- red, green, refactor -- with {guard_link}, run:

[source,bash]
----
bin/guard
----

To launch the server, use any of the following:

[source,bash]
----
# With Overmind (recommended)
overmind start --procfile Procfile.dev

# Without Overmind
bin/hanami server
----

Once the server is running, you can view the app via the following URLs:

- `https://localhost:2443` (secure)
- `http://localhost:2300` (insecure)

You can also check the status (health) of the app by hitting the `/up` endpoint.

== Tests

To test, run:

[source,bash]
----
bin/rake
----

== link:https://alchemists.io/policies/license[License]

== link:https://alchemists.io/policies/security[Security]

== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]

== link:https://alchemists.io/policies/contributions[Contributions]

== link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]

== link:https://alchemists.io/community[Community]

== Credits

* Built with {hanamismith_link}.
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].

Owner

  • Name: Brooke Kuhlmann
  • Login: bkuhlmann
  • Kind: user
  • Location: Boulder, CO USA
  • Company: Alchemists

Quality over quantity.

Citation (CITATION.cff)

cff-version: 1.2.0
message: Please use the following metadata when citing this project in your work.
title: Hemo
abstract:
version: 0.0.0
license: Hippocratic-2.1
date-released: 2024-03-02
authors:
  - family-names: Kuhlmann
    given-names: Brooke
    affiliation: Alchemists
    orcid: https://orcid.org/0000-0002-5810-6268
keywords:
 - ruby
repository-code: https://github.com/bkuhlmann/hemo
repository-artifact: https://github.com/bkuhlmann/hemo
url: https://github.com/bkuhlmann/hemo

GitHub Events

Total
  • Watch event: 2
  • Push event: 66
  • Pull request event: 3
  • Fork event: 2
Last Year
  • Watch event: 2
  • Push event: 66
  • Pull request event: 3
  • Fork event: 2

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 1
  • Total pull requests: 4
  • Average time to close issues: about 9 hours
  • Average time to close pull requests: 11 minutes
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 3.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 11 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Atelier-Mirai (1)
Pull Request Authors
  • bkuhlmann (4)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • nanasess/setup-chromedriver v1 composite
  • ruby/setup-ruby v1 composite
  • postgres latest docker
Gemfile rubygems
  • amazing_print ~> 1.4 development
  • caliber ~> 0.25 development
  • capybara ~> 3.38 development
  • cuprite ~> 0.14 development
  • database_cleaner-sequel ~> 2.0 development
  • debug ~> 1.7 development
  • dotenv ~> 2.8 development
  • git-lint ~> 5.0 development
  • guard-rspec ~> 4.7 development
  • hanami-rspec ~> 2.0 development
  • launchy ~> 2.5 development
  • localhost ~> 1.1 development
  • rack-test ~> 2.0 development
  • rake ~> 13.0 development
  • reek ~> 6.1 development
  • rerun ~> 0.14 development
  • rom-factory ~> 0.11 development
  • rubocop-sequel ~> 0.3 development
  • simplecov ~> 0.22 development
  • dry-types ~> 1.7
  • erbse ~> 0.1
  • hanami ~> 2.0
  • hanami-controller ~> 2.0
  • hanami-helpers >= 0
  • hanami-router ~> 2.0
  • hanami-validations ~> 2.0
  • hanami-view >= 0
  • pg ~> 1.4
  • puma ~> 6.0
  • rack-attack ~> 6.6
  • refinements ~> 10.0
  • rom ~> 5.3
  • rom-sql ~> 3.6
  • sequel ~> 5.64
Gemfile.lock rubygems
  • 135 dependencies