Files
national-parks-api/README.md
2025-10-07 23:35:14 -07:00

488 B

National Parks Demo App

Prerequisites

  • Ruby 3.4.7
  • Bundler

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 parks#index
  • 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