e7ddd0f72f
Add user authentication infrastructure with login/logout functionality, session management, and basic user model. Changes: - Create users table with email, password_digest, confirmation tokens - Add Users repository with authentication methods - Add User entity with authentication helpers - Implement login form and authentication actions - Add logout action - Add BCrypt gem for password hashing - Update base Action class with authentication helpers - Add login/logout routes Next steps: Registration flow, password reset, email confirmation
44 lines
701 B
Ruby
44 lines
701 B
Ruby
# frozen_string_literal: true
|
|
|
|
source "https://rubygems.org"
|
|
|
|
gem "hanami", "~> 2.1"
|
|
gem "hanami-assets", "~> 2.1"
|
|
gem "hanami-controller", "~> 2.1"
|
|
gem "hanami-router", "~> 2.1"
|
|
gem "hanami-validations", "~> 2.1"
|
|
gem "hanami-view", "~> 2.1"
|
|
|
|
gem "dry-types", "~> 1.0", ">= 1.6.1"
|
|
gem "puma"
|
|
gem "rake"
|
|
|
|
gem "rom", "~> 5.3"
|
|
gem "rom-sql", "~> 3.6"
|
|
gem "sqlite3"
|
|
|
|
gem "bcrypt", "~> 3.1"
|
|
|
|
gem "good_job", "~> 4.13"
|
|
|
|
group :development do
|
|
gem "guard-puma"
|
|
end
|
|
|
|
group :development, :test do
|
|
gem "dotenv"
|
|
end
|
|
|
|
group :cli, :development do
|
|
gem "hanami-reloader", "~> 2.1"
|
|
end
|
|
|
|
group :cli, :development, :test do
|
|
gem "hanami-rspec", "~> 2.1"
|
|
end
|
|
|
|
group :test do
|
|
gem "capybara"
|
|
gem "rack-test"
|
|
end
|