Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eclectic-coding/stimulus_search_demo-main
https://github.com/eclectic-coding/stimulus_search_demo-main
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eclectic-coding/stimulus_search_demo-main
- Owner: eclectic-coding
- Created: 2021-10-04T19:21:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-26T09:41:53.000Z (over 2 years ago)
- Last Synced: 2024-12-01T12:08:04.767Z (26 days ago)
- Language: Ruby
- Size: 215 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project contains the companion code for the Stimulus tutorial article published on [Medium](https://davidcolby.medium.com/instant-search-results-with-rails-6-and-stimulus-ffaf333926b5). In it, we build a search form that allows a user to type a search term into a text field and instantly see filtered results that match their query, as shown here:
![A gif of a user typing in a search term and a list of results changing to match the term](project-preview.gif?raw=true "Instant search preview")
The Rails project in this repo contains all you need to get started using Stimulus in Rails 6.
If you want to view the demo in action:
* Clone this repository
* `bundle install`
* `rails db:create && rails db:migrate`
* `rails server`
* Visit `localhost:3000` in your browser and create a few players