feat: init
parents
Showing
.dockerignore
0 → 100644
.gitattributes
0 → 100644
.github/dependabot.yml
0 → 100644
.github/workflows/ci.yml
0 → 100644
.gitignore
0 → 100644
.kamal/hooks/docker-setup.sample
0 → 100755
.kamal/hooks/post-app-boot.sample
0 → 100755
.kamal/hooks/post-deploy.sample
0 → 100755
.kamal/hooks/post-proxy-reboot.sample
0 → 100755
.kamal/hooks/pre-app-boot.sample
0 → 100755
.kamal/hooks/pre-build.sample
0 → 100755
.kamal/hooks/pre-connect.sample
0 → 100755
.kamal/hooks/pre-deploy.sample
0 → 100755
.kamal/hooks/pre-proxy-reboot.sample
0 → 100755
.kamal/secrets
0 → 100644
.rubocop.yml
0 → 100644
.ruby-version
0 → 100644
Dockerfile
0 → 100644
Gemfile
0 → 100644
source "https://rubygems.org" | |||
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" | |||
gem "rails", "~> 8.0.1" | |||
# Use sqlite3 as the database for Active Record | |||
gem "sqlite3", ">= 2.1" | |||
# Use the Puma web server [https://github.com/puma/puma] | |||
gem "puma", ">= 5.0" | |||
# Build JSON APIs with ease [https://github.com/rails/jbuilder] | |||
gem "jbuilder" | |||
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword] | |||
gem "bcrypt", "~> 3.1.7" | |||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | |||
gem "tzinfo-data", platforms: %i[ windows jruby ] | |||
# Use the database-backed adapters for Rails.cache, Active Job, and Action Cable | |||
gem "solid_cache" | |||
gem "solid_queue" | |||
gem "solid_cable" | |||
# Reduces boot times through caching; required in config/boot.rb | |||
gem "bootsnap", require: false | |||
# Deploy this application anywhere as a Docker container [https://kamal-deploy.org] | |||
gem "kamal", require: false | |||
# Add HTTP asset caching/compression and X-Sendfile acceleration to Puma [https://github.com/basecamp/thruster/] | |||
gem "thruster", require: false | |||
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images] | |||
gem "image_processing", "~> 1.2" | |||
# Search functionality | |||
gem "ransack", "~> 4.1" | |||
gem "kaminari" | |||
group :development, :test do | |||
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem | |||
gem "debug", platforms: %i[ mri windows ], require: "debug/prelude" | |||
# Static analysis for security vulnerabilities [https://brakemanscanner.org/] | |||
gem "brakeman", require: false | |||
# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/] | |||
gem "rubocop-rails-omakase", require: false | |||
end | |||
group :development do | |||
# Use console on exceptions pages [https://github.com/rails/web-console] | |||
gem "web-console" | |||
end | |||
group :test do | |||
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing] | |||
gem "capybara" | |||
gem "selenium-webdriver" | |||
end | |||
gem "inertia_rails-contrib", "~> 0.4.0" | |||
gem "vite_rails", "~> 3.0" |
Gemfile.lock
0 → 100644
This diff is collapsed.
Click to expand it.
Procfile.dev
0 → 100644
README.md
0 → 100644
Rakefile
0 → 100644
app/assets/images/.keep
0 → 100644
app/assets/stylesheets/application.css
0 → 100644
app/channels/application_cable/connection.rb
0 → 100644
app/controllers/admin/images_controller.rb
0 → 100644
app/controllers/admin/users_controller.rb
0 → 100644
app/controllers/application_controller.rb
0 → 100644
app/controllers/concerns/.keep
0 → 100644
app/controllers/concerns/authentication.rb
0 → 100644
app/controllers/images_controller.rb
0 → 100644
app/controllers/passwords_controller.rb
0 → 100644
app/controllers/sessions_controller.rb
0 → 100644
app/controllers/tags_controller.rb
0 → 100644
app/frontend/components/ErrorMessage.jsx
0 → 100644
app/frontend/components/ImageCard.jsx
0 → 100644
app/frontend/components/Pagination.jsx
0 → 100644
app/frontend/components/SuccessMessage.jsx
0 → 100644
app/frontend/components/TagSelector.jsx
0 → 100644
app/frontend/entrypoints/application.css
0 → 100644
app/frontend/entrypoints/inertia.js
0 → 100644
app/frontend/pages/Forbidden.jsx
0 → 100644
app/frontend/pages/Home.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/frontend/pages/Layout.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/frontend/pages/NotFound.jsx
0 → 100644
app/frontend/pages/admin/Dashboard.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/frontend/pages/admin/images/Index.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/frontend/pages/admin/tags/Index.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/frontend/pages/admin/users/Index.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/frontend/pages/auth/ForgotPassword.jsx
0 → 100644
app/frontend/pages/auth/Login.jsx
0 → 100644
app/frontend/pages/auth/Register.jsx
0 → 100644
app/frontend/pages/auth/ResetPassword.jsx
0 → 100644
app/frontend/pages/images/Edit.jsx
0 → 100644
app/frontend/pages/images/Index.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/frontend/pages/images/New.jsx
0 → 100644
app/frontend/pages/images/Search.jsx
0 → 100644
app/frontend/pages/images/Show.jsx
0 → 100644
app/frontend/pages/profile/Show.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/frontend/pages/sessions/Index.jsx
0 → 100644
app/frontend/pages/sessions/New.jsx
0 → 100644
app/frontend/pages/sessions/Security.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
app/helpers/admin/dashboard_helper.rb
0 → 100644
app/helpers/admin/images_helper.rb
0 → 100644
app/helpers/admin/users_helper.rb
0 → 100644
app/helpers/application_helper.rb
0 → 100644
app/helpers/images_helper.rb
0 → 100644
app/helpers/tags_helper.rb
0 → 100644
app/jobs/application_job.rb
0 → 100644
app/mailers/application_mailer.rb
0 → 100644
app/mailers/passwords_mailer.rb
0 → 100644
app/mailers/session_mailer.rb
0 → 100644
app/models/application_record.rb
0 → 100644
app/models/concerns/.keep
0 → 100644
app/models/current.rb
0 → 100644
app/models/image.rb
0 → 100644
app/models/image_tag.rb
0 → 100644
app/models/session.rb
0 → 100644
app/models/tag.rb
0 → 100644
app/models/user.rb
0 → 100644
app/views/layouts/application.html.erb
0 → 100644
app/views/layouts/mailer.html.erb
0 → 100644
app/views/layouts/mailer.text.erb
0 → 100644
app/views/passwords/edit.html.erb
0 → 100644
app/views/passwords/new.html.erb
0 → 100644
app/views/passwords_mailer/reset.html.erb
0 → 100644
app/views/passwords_mailer/reset.text.erb
0 → 100644
app/views/pwa/manifest.json.erb
0 → 100644
app/views/pwa/service-worker.js
0 → 100644
app/views/tags/create.html.erb
0 → 100644
app/views/tags/destroy.html.erb
0 → 100644
app/views/tags/edit.html.erb
0 → 100644
app/views/tags/index.html.erb
0 → 100644
app/views/tags/new.html.erb
0 → 100644
app/views/tags/update.html.erb
0 → 100644
bin/brakeman
0 → 100755
bin/bundle
0 → 100755
bin/dev
0 → 100755
This diff is collapsed.
Click to expand it.
bin/docker-entrypoint
0 → 100755
This diff is collapsed.
Click to expand it.
bin/jobs
0 → 100755
This diff is collapsed.
Click to expand it.
bin/kamal
0 → 100755
This diff is collapsed.
Click to expand it.
bin/rails
0 → 100755
This diff is collapsed.
Click to expand it.
bin/rake
0 → 100755
This diff is collapsed.
Click to expand it.
bin/rubocop
0 → 100755
This diff is collapsed.
Click to expand it.
bin/setup
0 → 100755
This diff is collapsed.
Click to expand it.
bin/thrust
0 → 100755
This diff is collapsed.
Click to expand it.
bin/vite
0 → 100755
This diff is collapsed.
Click to expand it.
config.ru
0 → 100644
This diff is collapsed.
Click to expand it.
config/application.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/boot.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/cable.yml
0 → 100644
This diff is collapsed.
Click to expand it.
config/cache.yml
0 → 100644
This diff is collapsed.
Click to expand it.
config/credentials.yml.enc
0 → 100644
This diff is collapsed.
Click to expand it.
config/database.yml
0 → 100644
This diff is collapsed.
Click to expand it.
config/deploy.yml
0 → 100644
This diff is collapsed.
Click to expand it.
config/environment.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/environments/development.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/environments/production.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/environments/test.rb
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
config/initializers/inertia_rails.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/initializers/inflections.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/locales/en.yml
0 → 100644
This diff is collapsed.
Click to expand it.
config/puma.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/queue.yml
0 → 100644
This diff is collapsed.
Click to expand it.
config/recurring.yml
0 → 100644
This diff is collapsed.
Click to expand it.
config/routes.rb
0 → 100644
This diff is collapsed.
Click to expand it.
config/storage.yml
0 → 100644
This diff is collapsed.
Click to expand it.
config/vite.json
0 → 100644
This diff is collapsed.
Click to expand it.
db/cable_schema.rb
0 → 100644
This diff is collapsed.
Click to expand it.
db/cache_schema.rb
0 → 100644
This diff is collapsed.
Click to expand it.
db/migrate/20250308052222_create_users.rb
0 → 100644
This diff is collapsed.
Click to expand it.
db/migrate/20250308052223_create_sessions.rb
0 → 100644
This diff is collapsed.
Click to expand it.
db/migrate/20250308053833_create_tags.rb
0 → 100644
This diff is collapsed.
Click to expand it.
db/migrate/20250308053931_create_images.rb
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
db/queue_schema.rb
0 → 100644
This diff is collapsed.
Click to expand it.
db/schema.rb
0 → 100644
This diff is collapsed.
Click to expand it.
db/seeds.rb
0 → 100644
This diff is collapsed.
Click to expand it.
lib/tasks/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
log/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
package-lock.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
package.json
0 → 100644
This diff is collapsed.
Click to expand it.
public/400.html
0 → 100644
This diff is collapsed.
Click to expand it.
public/404.html
0 → 100644
This diff is collapsed.
Click to expand it.
public/406-unsupported-browser.html
0 → 100644
This diff is collapsed.
Click to expand it.
public/422.html
0 → 100644
This diff is collapsed.
Click to expand it.
public/500.html
0 → 100644
This diff is collapsed.
Click to expand it.
public/icon.png
0 → 100644
This diff is collapsed.
Click to expand it.
public/icon.svg
0 → 100644
This diff is collapsed.
Click to expand it.
public/robots.txt
0 → 100644
This diff is collapsed.
Click to expand it.
script/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
storage/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
tailwind.config.js
0 → 100644
This diff is collapsed.
Click to expand it.
test/application_system_test_case.rb
0 → 100644
This diff is collapsed.
Click to expand it.
test/controllers/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/controllers/images_controller_test.rb
0 → 100644
This diff is collapsed.
Click to expand it.
test/controllers/tags_controller_test.rb
0 → 100644
This diff is collapsed.
Click to expand it.
test/fixtures/files/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
test/fixtures/image_tags.yml
0 → 100644
This diff is collapsed.
Click to expand it.
test/fixtures/images.yml
0 → 100644
This diff is collapsed.
Click to expand it.
test/fixtures/tags.yml
0 → 100644
This diff is collapsed.
Click to expand it.
test/fixtures/users.yml
0 → 100644
This diff is collapsed.
Click to expand it.
test/helpers/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
test/integration/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
test/mailers/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/models/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
test/models/image_tag_test.rb
0 → 100644
This diff is collapsed.
Click to expand it.
test/models/image_test.rb
0 → 100644
This diff is collapsed.
Click to expand it.
test/models/tag_test.rb
0 → 100644
This diff is collapsed.
Click to expand it.
test/models/user_test.rb
0 → 100644
This diff is collapsed.
Click to expand it.
test/system/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
test/test_helper.rb
0 → 100644
This diff is collapsed.
Click to expand it.
tmp/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
tmp/pids/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
tmp/storage/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
vendor/.keep
0 → 100644
This diff is collapsed.
Click to expand it.
vite.config.ts
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment