40 Commits

Author SHA1 Message Date
bf9f20a13c Add new stat 2025-10-08 09:50:33 -07:00
f5009780aa Update readme 2025-10-08 09:36:23 -07:00
b3d96e07b1 Add stats endpoint 2025-10-08 09:33:16 -07:00
fcbc513676 Use ParksByState to query alerts more efficiently 2025-10-08 08:48:33 -07:00
b4f45bf5c8 Create search index 2025-10-08 08:35:14 -07:00
55f712d043 Implement state search with new model 2025-10-08 08:27:04 -07:00
7bf4073bd2 Drop states column 2025-10-08 08:14:36 -07:00
513f1334fb Add parks_by_state model 2025-10-08 08:10:20 -07:00
4806a59d96 Update readme 2025-10-08 08:05:09 -07:00
3db7db9624 Update paginated responses to include summary data 2025-10-08 07:59:45 -07:00
1285f95ad3 Add identifier to fixture 2025-10-08 07:52:24 -07:00
7a0c2b8f90 Load properties 2025-10-08 07:38:13 -07:00
f54c290fd1 Update readme 2025-10-08 02:38:51 -07:00
48aea612be Invoke seeds in seeds.rb 2025-10-08 02:28:46 -07:00
a31a4413f3 Add naive impl of seeding alerts 2025-10-08 02:23:00 -07:00
fe0c04b971 Add seed parks service 2025-10-08 01:44:48 -07:00
c0c3a1beb5 Add NPS client class 2025-10-08 01:44:23 -07:00
d43483a7ad Add pagination to alerts index 2025-10-08 00:50:00 -07:00
adcaf46d33 Add api/v1 base controller 2025-10-08 00:46:18 -07:00
832164ead2 Implement alerts index 2025-10-08 00:43:03 -07:00
4c3ddc6175 Add park <-> alert relations 2025-10-08 00:22:11 -07:00
8937ca9fc9 Add stub of alerts route 2025-10-08 00:07:53 -07:00
6b5d069729 Add alert model 2025-10-08 00:07:36 -07:00
7c6936b9c2 Load all fixtures 2025-10-08 00:06:05 -07:00
b9c2683d13 Add unique index on parks#code 2025-10-07 23:45:25 -07:00
ac8338ee90 Add todo 2025-10-07 23:35:14 -07:00
a08bfa3d18 Update readme with basic instructions 2025-10-07 23:31:07 -07:00
5dd2814f88 Add ParksController show action 2025-10-07 23:16:21 -07:00
2e3c6006ae Add specs for /parks/:code 2025-10-07 23:12:34 -07:00
c3851592a7 Add filtering on state 2025-10-07 23:05:12 -07:00
d0a517a3d4 Add state search spec 2025-10-07 22:53:24 -07:00
7f82574b86 Add pagination 2025-10-07 22:49:03 -07:00
3c732654d5 Improve spec expectations 2025-10-07 22:32:20 -07:00
36d462dcbc Switch from minitest to rspec 2025-10-07 22:21:01 -07:00
16f851b721 Add api/v1/parks 2025-10-07 22:09:41 -07:00
f670c4e589 Drop parks#established_date 2025-10-07 21:59:31 -07:00
d3f17bab65 Add realistic fixture 2025-10-07 21:58:25 -07:00
c9eebe622d Scaffold park model 2025-10-07 21:50:24 -07:00
777cadec6b Init schema 2025-10-07 21:49:48 -07:00
89b9c842ca Run rails new national-parks --api --minimal 2025-10-07 21:24:01 -07:00