Skip to content

🚀 Build public demo site at demo.armory-core.com #116

@fusion94

Description

@fusion94

Description

Build a fully functional public demo instance of Armory Core. This should showcase the full firearms inventory and management experience with realistic seed data that auto-resets every 4 hours.

Current Behavior

No public demo exists.

Expected Behavior

A live, always-available demo instance with pre-populated inventory data that resets on a 4-hour cycle.

Demo Requirements

Seed Data (realistic and comprehensive)

  • 4 demo user accounts with different collection sizes and use cases
  • 100+ firearms across categories:
    • Handguns: semi-auto pistols, revolvers, compact/subcompact carry guns
    • Rifles: bolt-action, semi-auto, lever-action, precision, AR-platform
    • Shotguns: pump, semi-auto, over/under, side-by-side
    • Historical/collectible pieces with provenance notes
  • Detailed specs per item: manufacturer, model, caliber, barrel length, serial (masked for demo), purchase date, purchase price, current value
  • 500+ maintenance/cleaning logs with dates, round counts, notes
  • Ammunition inventory: 50+ calibers with quantities, lot numbers, purchase history
  • 200+ range session logs with date, location, round count, notes, accuracy data
  • Accessories/optics tracking: scopes, lights, slings, magazines, holsters linked to firearms
  • Storage locations: safes, cases, cabinets with capacity tracking
  • Insurance documentation: policy info, appraisals, photo records
  • Transfer/acquisition history: FFL records, private sales, inherited items
  • Wish list with price tracking

Auto-Reset

  • Cron job reseeds database every 4 hours
  • Reset times: 00:00, 04:00, 08:00, 12:00, 16:00, 20:00 UTC
  • All user sessions invalidated on reset

Demo Login Page

  • Quick-login buttons for each demo persona
  • "Try as Casual Owner" (5 firearms) / "Try as Sport Shooter" (15 firearms) / "Try as Collector" (50+ firearms) / "Try as Dealer/FFL" (100+ firearms)
  • Banner: "This is a demo instance. Data resets every 4 hours."

Security

  • Rate limiting on all endpoints
  • No external API integrations active
  • Isolated database
  • Demo accounts cannot change passwords
  • All serial numbers masked/fictional

Technical Approach

  • Containerized deployment
  • Separate demo seed script
  • Cron container for 4-hour reseed cycle
  • Environment flag: DEMO_MODE=true

Acceptance Criteria

  • Demo accessible at public URL
  • 4+ demo accounts with quick-login buttons
  • 100+ realistic firearms with full specs
  • Maintenance logs, range sessions, ammo tracking functional
  • Auto-reseed every 4 hours
  • Demo banner visible on all pages
  • All serial numbers fictional/masked
  • Mobile responsive

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions