A lightweight search analytics app built with Ruby on Rails. It allows users to perform real-time searches while storing their queries for later analysis. Perfect for understanding search behavior in a simple and effective way.
Link of deploy: Search Term
-
Real-time search
-
Persistent search term logging
-
Basic search analytics (e.g., most recent queries)
-
Background Jobs
-
Ruby on Rails 7
-
PostgreSQL – for storing search terms
-
Redis – optional, for caching or real-time broadcasting
-
Hotwire (Turbo + Stimulus) – for reactive UI without JS frameworks
-
Docker – containerized setup
-
Render – for deployment
-
RSpec and Capybara – for tests
-
Rubocop – for lint
-
SimpleCov – for coverage
-
SolidQueue – for async Jobs
$ git clone https://github.com/Bruno-H-Terto/Search-Term.git
$ cd Search-Term
$ source alias.sh
$ dcubOnce the server starts, it will be available at http://0.0.0.0:3000
$ dce rspec$ dce rubocopVisit the homepage and enter a term into the search field. After 1 second each query is saved to the database. Recent searches can be displayed dynamically using Turbo and Background Jobs.
This app stores every search term and allows you to:
-
List the most recent queries
-
Potentially aggregate data (e.g., most frequent searches)
Github: Bruno Herculano
