stimulus_reflex_table_filter
stimulus_reflex_table_filter copied to clipboard
Demo app showing how you can filter a table in a Ruby on Rails app with StimulusReflex
README
StimulusReflex
Make sure you checkout StimulusReflex for more information on how this awesomeness was achieved.
You can find documentation on the project here. If you run into trouble, reach out to me on Twitter and I will try to help!
Setup instructions
- Dependencies
Make sure you have ruby, node, and postgres installed and running.
Here is what I am using:
➜ rbenv -v
rbenv 1.1.2
➜ ruby -v
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin18]
➜ nvm --version
0.35.0
➜ node -v
v12.11.1
➜ postgres --version
postgres (PostgreSQL) 11.5
- Clone the repo
git clone https://github.com/andrewmcodes/stimulus_reflex_table_filter
cd stimulus_reflex_table_filter
-
bundle install && yarn -
rails db:create db:migrate db:seed -
rails s -
Go to
localhost:3000and see the magic. -
Feel free to experiment and submit pull requests!
Tutorial
This is still a work in progress, but the tutorial to create this can be found here.
Contributing
Code of Conduct
Everyone interacting with StimulusReflex is expected to follow the Code of Conduct
Coding Standards
This project uses Standard to minimize bike shedding related to code formatting.
Please run bundle exec standardrb --fix prior submitting pull requests.
Contributing Guide
Contributing Guide
License
MIT