No description
Find a file
Graham McIntire ae7e117b23
Prune listings that disappear from retailer scrapes
When a product no longer appears in a successful scrape for its
retailer+caliber, mark it out of stock. After each scrape cycle, hard
delete any product whose last_seen_at is older than 30 days (snapshots
cascade via FK). A zero-result scrape leaves existing listings alone so
a parse failure or transient site glitch can't nuke the catalog.
2026-04-22 15:41:40 -05:00
assets Update dependencies 2026-04-22 15:28:07 -05:00
config Switch to self-scheduling scrapes with longer intervals 2026-03-12 13:26:46 -05:00
lib Prune listings that disappear from retailer scrapes 2026-04-22 15:41:40 -05:00
priv Separate 5.56x45 NATO and .223 Remington into distinct calibers 2026-03-12 12:27:59 -05:00
rel/overlays/bin Fix executable permissions on release scripts 2026-03-12 07:55:19 -05:00
test Prune listings that disappear from retailer scrapes 2026-04-22 15:41:40 -05:00
.dockerignore Add Dokku deployment configuration 2026-03-11 16:51:44 -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
.tool-versions Add Dokku deployment configuration 2026-03-11 16:51:44 -05:00
AGENTS.md Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
app.json Add Dokku deployment configuration 2026-03-11 16:51:44 -05:00
CLAUDE.md Add credo with --strict mode and fix all issues 2026-03-12 13:35:12 -05:00
Dockerfile Add Dokku deployment configuration 2026-03-11 16:51:44 -05:00
mix.exs Add credo with --strict mode and fix all issues 2026-03-12 13:35:12 -05:00
mix.lock Update dependencies 2026-04-22 15:28:07 -05:00
Procfile Add Dokku deployment configuration 2026-03-11 16:51:44 -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