a31a4413f38bb534afa6c8693b5a2e039efe51fc
National Parks Demo App
Prerequisites
- Ruby 3.4.7
- Bundler
- Set
NPS_API_KEYenv var
Deps
- Ruby 3.4.7
- Rails 8.0.3
- SQLite
Getting started
bundle install
bin/rails db:prepare
bin/rails server
Testing
bin/rspec
TODO
- What additional cols to add to parks model?
- Order results on index actions
- Return total pages for index actions
- Enum on category for alerts
- index states for efficient search?
- full text search in sqlite?
- normalize state on a separate table?
- With postgres I would use a states:array col and gin index
Description
Languages
Ruby
100%