Files
national-parks-api/README.md

39 lines
587 B
Markdown

# 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