2025-10-08 02:23:00 -07:00
2025-10-07 22:21:01 -07:00
2025-10-08 00:43:03 -07:00
2025-10-08 02:23:00 -07:00
2025-10-08 00:50:00 -07:00
2025-10-08 01:44:23 -07:00
2025-10-07 22:21:01 -07:00
2025-10-08 01:44:23 -07:00
2025-10-08 01:44:23 -07:00
2025-10-08 02:23:00 -07:00

National Parks Demo App

Prerequisites

  • Ruby 3.4.7
  • Bundler
  • Set NPS_API_KEY env 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
No description provided
Readme 90 KiB
Languages
Ruby 100%