Skip to content

sagar-ruby/quote-editor

Repository files navigation

Quote Editor

A Ruby on Rails 7 application built with Hotwire (Turbo + Stimulus) and a server-driven UI.
This project follows the Hotwire/Turbo Rails tutorial and is fully containerised for local development.

https://www.hotrails.dev/turbo-rails

Tech Stack

  • Ruby 3.0.6
  • Rails 7.0.x
  • Hotwire (Turbo, Stimulus)
  • PostgreSQL
  • Node 18 (esbuild, Sass)
  • Docker & Docker Compose

Prerequisites

You only need:

  • Docker
  • Docker Compose

No local Ruby, Node, or Postgres installation is required.

Getting Started

Clone the repository and start the app:

git clone <repo-url>
cd quote-editor
docker compose up

On first run, prepare the database:

docker compose run --rm web bin/rails db:prepare

Seed data:

docker compose exec web bin/rails db:seed

Run tests:

docker compose exec web bin/rails test:system

Then visit:

http://localhost:3000

About

A follow-along of the hotrails.dev/turbo-rails tutorial. Additionally I have added docker and github Actions CI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors