I converted a my own Rails app to MPA (SPA) with Nuxt3.(japanese)
This is backend of Easel.
Rails8.1 + Devise(authentication) + Pagy(paging) + Shrine(upload) + No Fly List(tag) + RailsAdmin (management console) + Discard(soft delete) + Hotwire (Turbo + Stimulus3) + Tailwind CSS v4 + daisyUI v5
The legacy frontend + backend (old version) is in easel-legacy.
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version : 4.0
-
Rails version : 8.1
-
System dependencies : pnpm & postgresql & minio & imgproxy & valkey & libvips & direnv
-
Deployment instructions
- Run
bundle install --path vendor/bundleto install the required Rubygems - Run
pnpm installto install the required NPM packages - Run
cp .env.local.example .envto edit environment variables - Run
EDITOR="vi" bin/rails credentials:editto create credentials - Run
direnv allowto set environment variables - Run
bundle exec rails db:createto create a development database - Run
bundle exec rails db:migrateto create database schema - Run
bundle exec rails db:seedto sample records - Run
bin/devto spin up the Rails dev server - Hit localhost:3000 and you should be ready to go!
- Run
-
...
The MIT License (MIT). Please see License File for more information.