No description
Find a file
Graham McIntire bbe5bde145
Initial implementation of ammo price tracker
Phoenix 1.8 app that scrapes ammunition retailers (Lucky Gunner,
SGAmmo) for price data and displays historical price trends.

- Data model: retailers, calibers, products, price snapshots
- Scraper infrastructure with Req, Floki, realistic browser headers
- Oban-scheduled scrape jobs (every 4h with randomized delays)
- LiveView pages: homepage with category cards, caliber detail with
  price table, Chart.js price history, and price stats banner
- 18 seeded calibers across handgun/rifle/rimfire/shotgun categories
- 77 tests
2026-03-11 15:58:12 -05:00
assets Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
config Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
lib Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
priv Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
test Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
.formatter.exs Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
.gitignore Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
AGENTS.md Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
CLAUDE.md Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
mix.exs Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
mix.lock Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
README.md Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00

Ammoprices

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more